summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure1
-rw-r--r--lib/buildsystem/kbuild.sh4
2 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index c2100bb..5687863 100755
--- a/configure
+++ b/configure
@@ -179,7 +179,6 @@ Features:
Dependencies:
--with-sh=PATH use sh at PATH
- --with-archtab=PATH use archtab at PATH
EOF
}
diff --git a/lib/buildsystem/kbuild.sh b/lib/buildsystem/kbuild.sh
index 881013e..8db2f59 100644
--- a/lib/buildsystem/kbuild.sh
+++ b/lib/buildsystem/kbuild.sh
@@ -107,6 +107,7 @@ _oh_kbuild_update_target()
_oh_kbuild_testarch()
{
local arch=
+ local rc=
arch="${1}"
@@ -114,8 +115,9 @@ _oh_kbuild_testarch()
cd "${_OH_BUILDSYSTEM_BUILD_DIR}"
make -n ARCH="${arch}" help >/dev/null 2>&1
+ rc=${?}
cd "${_OH_BUILDSYSTEM_WORK_AREA}"
- return ${?}
+ return ${rc}
}