aboutsummaryrefslogtreecommitdiffstats
path: root/sub/kernel/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-04-05 10:31:16 +0000
committerLaurent Bercot <ska@appnovation.com>2024-04-05 10:31:16 +0000
commit3efd7b95a19e8fbcfc9f67e09389ba3405f313b8 (patch)
treea56f74a6722d65982e57c3c98bf3deff4cb8d589 /sub/kernel/Makefile
parent02e59d9fb6f9ed4df6b5edc91fa67a0cc884c142 (diff)
downloadlh-bootstrap-3efd7b95a19e8fbcfc9f67e09389ba3405f313b8.tar.gz
Allow several words in BUILD_CC
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'sub/kernel/Makefile')
-rw-r--r--sub/kernel/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/kernel/Makefile b/sub/kernel/Makefile
index ef80fbe..a6da7de 100644
--- a/sub/kernel/Makefile
+++ b/sub/kernel/Makefile
@@ -4,7 +4,7 @@ KERNEL_VERSION ?= 6.6
KERNEL_MAJOR := $(firstword $(subst ., ,$(KERNEL_VERSION)))
KERNEL_FULLVERSION := $(if $(word 2,$(subst ., ,$(KERNEL_VERSION))),$(KERNEL_VERSION),$(KERNEL_VERSION).0)
-KERNEL_ENV := HOSTCC=$(BUILD_CC) DEPMOD=$(OUTPUT)/build-build/opt/kmod/bin/depmod INSTALL_MOD_PATH=$(OUTPUT)/rootfs CROSS_COMPILE=$(TARGET_PREFIX)- ARCH=$(KERNEL_GENERIC_ARCH) INSTALL_MOD_STRIP="-R .note -R .comment --strip-debug" HOST_LFS_CFLAGS= HOST_LFS_LDFLAGS= HOST_LFS_LIBS=
+KERNEL_ENV := HOSTCC="$(BUILD_CC)" DEPMOD=$(OUTPUT)/build-build/opt/kmod/bin/depmod INSTALL_MOD_PATH=$(OUTPUT)/rootfs CROSS_COMPILE=$(TARGET_PREFIX)- ARCH=$(KERNEL_GENERIC_ARCH) INSTALL_MOD_STRIP="-R .note -R .comment --strip-debug" HOST_LFS_CFLAGS= HOST_LFS_LDFLAGS= HOST_LFS_LIBS=
$(OUTPUT)/sources/linux-$(KERNEL_VERSION).tar.xz: | $(OUTPUT)/tmp/.lh_prepared
cd $(OUTPUT)/sources && setuidgid $(NORMALUSER) wget https://cdn.kernel.org/pub/linux/kernel/v$(KERNEL_MAJOR).x/linux-$(KERNEL_VERSION).tar.xz