diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2024-05-06 09:00:36 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2024-05-06 09:00:36 +0000 |
commit | 44861b7d026df25f2d4064fd58d6039fbd21acb6 (patch) | |
tree | 61acdcb85fe6de66bc34d08ead05852c2944403a /sub | |
parent | 0326981ab6c79ff1f0cff6ffae03afba832ed584 (diff) | |
download | lh-bootstrap-44861b7d026df25f2d4064fd58d6039fbd21acb6.tar.xz |
ffs Linux
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'sub')
-rw-r--r-- | sub/kernel/Makefile | 2 | ||||
-rw-r--r-- | sub/kmod/Makefile | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sub/kernel/Makefile b/sub/kernel/Makefile index 084deca..65f23b9 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 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 CROSS_COMPILE=$(TARGET_PREFIX)- ARCH=$(KERNEL_GENERIC_ARCH) INSTALL_MOD_PATH=$(OUTPUT)/rootfs 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 diff --git a/sub/kmod/Makefile b/sub/kmod/Makefile index 7bf0a47..b73e5e6 100644 --- a/sub/kmod/Makefile +++ b/sub/kmod/Makefile @@ -1,14 +1,14 @@ KMOD_NAME := kmod KMOD_VERSION := 32 -KMOD_URLDIR := https://cdn.kernel.org/pub/linux/utils/kernel/$(KMOD_NAME) +KMOD_URLDIR := https://kernel.org/pub/linux/utils/kernel/$(KMOD_NAME) KMOD_TAREXT := tar.xz KMOD_TARLETTER := J # Do not use --enable-static or --disable-shared: the kmod configure script is voluntarily broken. # Use make variables instead to link kmod statically. -KMOD_CONFIGURE_OPTIONS := --disable-option-checking --disable-maintainer-mode --with-module-directory=$(OUTPUT)/rootfs/lib/modules --with-gnu-ld --disable-gtk-doc-html --with-xz --disable-manpages --disable-test-modules --disable-logging --with-bashcompletiondir=$(OUTPUT)/build-build/opt/$(KMOD_NAME)-$(KMOD_VERSION)/bash-completions +KMOD_CONFIGURE_OPTIONS := --disable-option-checking --disable-maintainer-mode --with-gnu-ld --disable-gtk-doc-html --with-xz --disable-manpages --disable-test-modules --disable-logging --with-bashcompletiondir=$(OUTPUT)/build-build/opt/$(KMOD_NAME)-$(KMOD_VERSION)/bash-completions KMOD_CFLAGS := -I$(OUTPUT)/build-build/opt/xz/include -include libgen.h KMOD_LDFLAGS := -L$(OUTPUT)/build-build/opt/xz/lib KMOD_LIBS := -llzma |