diff options
author | Yann E. MORIN" <yann.morin.1998@free.fr> | 2014-01-01 18:14:20 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@free.fr> | 2014-01-01 18:14:20 (GMT) |
commit | dbe2cc1c0bccc9404fa3c1f8601f13656f8e3e51 (patch) | |
tree | df01c2b0c1749780244e238e333800f55d6ceb06 /scripts | |
parent | 18913a24a7a9a744b4768ae85858149101b8bb78 (diff) |
kernel/linux: fix fall-out due to arm64 special case
Cset 3b61be3d7aa6 (prepare for arch whose kenel name is not the standard name)
failed to name a variable consistently, so all archs but arm64 were broken.
Fix that by renaming the variable in a consistent way.
Reported-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build/kernel/linux.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/kernel/linux.sh b/scripts/build/kernel/linux.sh index 90daa8a..76fb98c 100644 --- a/scripts/build/kernel/linux.sh +++ b/scripts/build/kernel/linux.sh @@ -97,7 +97,7 @@ do_kernel_headers() { # Install kernel headers using headers_install from kernel sources. do_kernel_install() { local kernel_path - local arch + local kernel_arch CT_DoLog DEBUG "Using kernel's headers_install" @@ -119,7 +119,7 @@ do_kernel_install() { CT_DoExecLog ALL \ make -C "${kernel_path}" \ O="${CT_BUILD_DIR}/build-kernel-headers" \ - ARCH=${arch} \ + ARCH=${kernel_arch} \ INSTALL_HDR_PATH="${CT_SYSROOT_DIR}/usr" \ ${V_OPT} \ headers_install @@ -129,7 +129,7 @@ do_kernel_install() { CT_DoExecLog ALL \ make -C "${kernel_path}" \ O="${CT_BUILD_DIR}/build-kernel-headers" \ - ARCH=${arch} \ + ARCH=${kernel_arch} \ INSTALL_HDR_PATH="${CT_SYSROOT_DIR}/usr" \ ${V_OPT} \ headers_check |