summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")