summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-09-22 17:07:07 +0000
committerEric Andersen <andersen@codepoet.org>2004-09-22 17:07:07 +0000
commitf598d4fe845b77b06781a2a2ab05e10a32238e7a (patch)
tree0d96a85ff976dd89a94680eb45ae6e2a4ba1e645
parentbfa9ce0e4c5a8c823f94f32bb0e097f4bab10597 (diff)
Default to 2.4.27 kernel headers
-rw-r--r--Makefile3
-rw-r--r--make/kernel-headers.mk13
2 files changed, 13 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ac6df4c4f..525b62ee8 100644
--- a/Makefile
+++ b/Makefile
@@ -48,7 +48,8 @@ ARCH:=i386
# Choose the kernel headers to use for kernel-headers target. This is
# ignored if you are building your own kernel or using the system kernel.
#
-DEFAULT_KERNEL_HEADERS:=2.4.25
+#DEFAULT_KERNEL_HEADERS:=2.4.25
+DEFAULT_KERNEL_HEADERS:=2.4.27
#DEFAULT_KERNEL_HEADERS:=2.6.7
#DEFAULT_KERNEL_HEADERS:=2.6.8
diff --git a/make/kernel-headers.mk b/make/kernel-headers.mk
index 07c2bd5d9..bce061a74 100644
--- a/make/kernel-headers.mk
+++ b/make/kernel-headers.mk
@@ -17,8 +17,17 @@ VERSION:=2
PATCHLEVEL:=4
SUBLEVEL:=25
LINUX_SITE:=http://www.uclibc.org/downloads/toolchain
-LINUX_SOURCE:=kernel-headers-2.4.25.tar.bz2
-LINUX_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux
+LINUX_SOURCE:=linux-libc-headers-2.4.25.tar.bz2
+LINUX_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.4.25
+endif
+
+ifeq ("$(strip $(DEFAULT_KERNEL_HEADERS))","2.4.27")
+VERSION:=2
+PATCHLEVEL:=4
+SUBLEVEL:=25
+LINUX_SITE:=http://www.uclibc.org/downloads/toolchain
+LINUX_SOURCE:=linux-libc-headers-2.4.27.tar.bz2
+LINUX_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.4.27
endif
ifeq ("$(strip $(DEFAULT_KERNEL_HEADERS))","2.6.7")