diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-02-03 15:00:40 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-02-03 15:00:40 +0000 |
commit | ef439ad28d5f5964dca4d4e96a42e6ff6c28d886 (patch) | |
tree | 278b5c25f028eceda7ab2eaf8b77d9289fdf1880 /sub/kernel | |
parent | a8f79b8d50115af4c36c07f83ec7dd9bc4475710 (diff) | |
download | lh-bootstrap-ef439ad28d5f5964dca4d4e96a42e6ff6c28d886.tar.xz |
Add kernel HOST_LFS flags
Diffstat (limited to 'sub/kernel')
-rw-r--r-- | sub/kernel/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/kernel/Makefile b/sub/kernel/Makefile index c00e13e..264c2fd 100644 --- a/sub/kernel/Makefile +++ b/sub/kernel/Makefile @@ -4,7 +4,7 @@ KERNEL_VERSION ?= 5.5.1 KERNEL_MAJOR := $(firstword $(subst ., ,$(KERNEL_VERSION))) KERNEL_FULLVERSION := $(if $(word 2,$(subst ., ,$(KERNEL_VERSION))),$(KERNEL_VERSION),$(KERNEL_VERSION).0) -KERNEL_ENV := HOSTCC=$(BUILD_BUILD_CC) DEPMOD=$(OUTPUT)/build-build/opt/kmod/bin/depmod INSTALL_MOD_PATH=$(OUTPUT)/rootfs CROSS_COMPILE=$(BUILD_HOST_PREFIX)- ARCH=$(KERNEL_GENERIC_ARCH) INSTALL_MOD_STRIP="-R .note -R .comment -R .note.GNU-stack --strip-debug" +KERNEL_ENV := HOSTCC=$(BUILD_BUILD_CC) DEPMOD=$(OUTPUT)/build-build/opt/kmod/bin/depmod INSTALL_MOD_PATH=$(OUTPUT)/rootfs CROSS_COMPILE=$(BUILD_HOST_PREFIX)- ARCH=$(KERNEL_GENERIC_ARCH) INSTALL_MOD_STRIP="-R .note -R .comment -R .note.GNU-stack --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 |