summaryrefslogtreecommitdiffstats
path: root/lib/buildsystem/kbuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/buildsystem/kbuild.sh')
-rw-r--r--lib/buildsystem/kbuild.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/buildsystem/kbuild.sh b/lib/buildsystem/kbuild.sh
index ae548f9..83ecb35 100644
--- a/lib/buildsystem/kbuild.sh
+++ b/lib/buildsystem/kbuild.sh
@@ -70,12 +70,11 @@ _oh_kbuild_install()
_oh_kbuild_update_target()
{
- local target=
+ local target="${1}"
local arch=
local rc=
- target="${1}"
- shift
+ shift 1
if ! arch="$(oh_buildsystem_arch "${OPK_HOST_ARCH}" 'kbuild')"
then
@@ -106,11 +105,9 @@ _oh_kbuild_update_target()
_oh_kbuild_testarch()
{
- local arch=
+ local arch="${1}"
local rc=
- arch="${1}"
-
mkdir -p "${_OH_BUILDSYSTEM_BUILD_DIR}"
cd "${_OH_BUILDSYSTEM_BUILD_DIR}"