mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 17:12:55 +00:00
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>
This commit is contained in:
parent
18913a24a7
commit
dbe2cc1c0b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user