aboutsummaryrefslogtreecommitdiff
path: root/sub/kmod/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sub/kmod/Makefile')
-rw-r--r--sub/kmod/Makefile4
1 files changed, 2 insertions, 2 deletions
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