mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-22 09:40:56 +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.
|
# Install kernel headers using headers_install from kernel sources.
|
||||||
do_kernel_install() {
|
do_kernel_install() {
|
||||||
local kernel_path
|
local kernel_path
|
||||||
local arch
|
local kernel_arch
|
||||||
|
|
||||||
CT_DoLog DEBUG "Using kernel's headers_install"
|
CT_DoLog DEBUG "Using kernel's headers_install"
|
||||||
|
|
||||||
@ -119,7 +119,7 @@ do_kernel_install() {
|
|||||||
CT_DoExecLog ALL \
|
CT_DoExecLog ALL \
|
||||||
make -C "${kernel_path}" \
|
make -C "${kernel_path}" \
|
||||||
O="${CT_BUILD_DIR}/build-kernel-headers" \
|
O="${CT_BUILD_DIR}/build-kernel-headers" \
|
||||||
ARCH=${arch} \
|
ARCH=${kernel_arch} \
|
||||||
INSTALL_HDR_PATH="${CT_SYSROOT_DIR}/usr" \
|
INSTALL_HDR_PATH="${CT_SYSROOT_DIR}/usr" \
|
||||||
${V_OPT} \
|
${V_OPT} \
|
||||||
headers_install
|
headers_install
|
||||||
@ -129,7 +129,7 @@ do_kernel_install() {
|
|||||||
CT_DoExecLog ALL \
|
CT_DoExecLog ALL \
|
||||||
make -C "${kernel_path}" \
|
make -C "${kernel_path}" \
|
||||||
O="${CT_BUILD_DIR}/build-kernel-headers" \
|
O="${CT_BUILD_DIR}/build-kernel-headers" \
|
||||||
ARCH=${arch} \
|
ARCH=${kernel_arch} \
|
||||||
INSTALL_HDR_PATH="${CT_SYSROOT_DIR}/usr" \
|
INSTALL_HDR_PATH="${CT_SYSROOT_DIR}/usr" \
|
||||||
${V_OPT} \
|
${V_OPT} \
|
||||||
headers_check
|
headers_check
|
||||||
|
Loading…
x
Reference in New Issue
Block a user