summaryrefslogtreecommitdiffstats
path: root/lib/buildsystem/kbuild.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-05-26 17:34:12 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-05-26 17:34:12 (EDT)
commit8832a50b06ac2f7b2126f8c0d73f0f89172756a9 (patch)
tree8bb39ae7fa86750fe5a3296aa4e201ccd61bf90f /lib/buildsystem/kbuild.sh
parenta92e5d47e2ad89d545e4bc8f92b0ada956798e52 (diff)
_oh_kbuild_testarch(): Enter build dir.
Diffstat (limited to 'lib/buildsystem/kbuild.sh')
-rw-r--r--lib/buildsystem/kbuild.sh5
1 files changed, 5 insertions, 0 deletions
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 ${?}
}