From 8832a50b06ac2f7b2126f8c0d73f0f89172756a9 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 26 May 2013 17:34:12 -0400 Subject: _oh_kbuild_testarch(): Enter build dir. --- (limited to 'lib') diff --git a/lib/buildsystem/kbuild.sh b/lib/buildsystem/kbuild.sh index 4c4f64c..a5f148f 100644 --- a/lib/buildsystem/kbuild.sh +++ b/lib/buildsystem/kbuild.sh @@ -110,8 +110,13 @@ _oh_kbuild_testarch() _ohbskta_arch="${1}" + mkdir -p "${_OH_BUILDSYSTEM_BUILD_DIR}" + cd "${_OH_BUILDSYSTEM_BUILD_DIR}" + make -n ARCH="${_ohbskta_arch}" help >/dev/null 2>&1 + cd "${_OH_BUILDSYSTEM_WORK_AREA}" + _oh_return ${?} return ${?} } -- cgit v0.9.1