diff options
-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 |