- move setting of determination whether we use a full kernel vs. sanitized headers...
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 22 Dec 2006 10:37:22 +0000 (10:37 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 22 Dec 2006 10:37:22 +0000 (10:37 -0000)
toolchain/kernel-headers/kernel-headers-new.makefile
toolchain/kernel-headers/kernel-headers-old.makefile
toolchain/kernel-headers/kernel-headers.mk

index dceadac4ebf4213a714ad87182ac6d6ce6b1b376..070aa25fea130cf428d680c18b9d53fa312820d0 100644 (file)
@@ -3,7 +3,6 @@
 # full kernel tarballs >= 2.6.19.1
 #
 #############################################################
-LINUX_HEADERS_IS_KERNEL=n
 
 ifeq ("$(DEFAULT_KERNEL_HEADERS)","2.6.19.1")
 VERSION:=2
index 8357e82c685369411c052b2b0b67dfffda33bbed..6b490cab1ebc6529191b64e60c9df2b2bd5788a9 100644 (file)
@@ -16,7 +16,6 @@ LINUX_HEADERS_SOURCE:=linux-libc-headers-2.4.25.tar.bz2
 LINUX_HEADERS_CAT:=$(BZCAT)
 LINUX_HEADERS_DIR:=$(TOOL_BUILD_DIR)/linux
 LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.4.25
-LINUX_HEADERS_IS_KERNEL=n
 endif
 
 ifeq ("$(DEFAULT_KERNEL_HEADERS)","2.4.27")
@@ -29,7 +28,6 @@ LINUX_HEADERS_CAT:=$(BZCAT)
 LINUX_HEADERS_SOURCE:=linux-libc-headers-2.4.27.tar.bz2
 LINUX_HEADERS_DIR:=$(TOOL_BUILD_DIR)/linux
 LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.4.27
-LINUX_HEADERS_IS_KERNEL=n
 endif
 
 ifeq ("$(DEFAULT_KERNEL_HEADERS)","2.4.29")
@@ -42,7 +40,6 @@ LINUX_HEADERS_SOURCE:=linux-libc-headers-2.4.29.tar.bz2
 LINUX_HEADERS_CAT:=$(BZCAT)
 LINUX_HEADERS_DIR:=$(TOOL_BUILD_DIR)/linux
 LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.4.29
-LINUX_HEADERS_IS_KERNEL=n
 endif
 
 ifeq ("$(DEFAULT_KERNEL_HEADERS)","2.4.31")
@@ -55,7 +52,6 @@ LINUX_HEADERS_SOURCE:=linux-libc-headers-2.4.31.tar.bz2
 LINUX_HEADERS_CAT:=$(BZCAT)
 LINUX_HEADERS_DIR:=$(TOOL_BUILD_DIR)/linux
 LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.4.31
-LINUX_HEADERS_IS_KERNEL=n
 endif
 
 ifeq ("$(DEFAULT_KERNEL_HEADERS)","2.6.9")
@@ -68,7 +64,6 @@ LINUX_HEADERS_SOURCE:=linux-libc-headers-2.6.9.1.tar.bz2
 LINUX_HEADERS_CAT:=$(BZCAT)
 LINUX_HEADERS_DIR:=$(TOOL_BUILD_DIR)/linux
 LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.6.9.1
-LINUX_HEADERS_IS_KERNEL=n
 endif
 
 ifeq ("$(DEFAULT_KERNEL_HEADERS)","2.6.10")
@@ -81,7 +76,6 @@ LINUX_HEADERS_SOURCE:=linux-libc-headers-2.6.10.0.tar.bz2
 LINUX_HEADERS_CAT:=$(BZCAT)
 LINUX_HEADERS_DIR:=$(TOOL_BUILD_DIR)/linux
 LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.6.10.0
-LINUX_HEADERS_IS_KERNEL=n
 endif
 
 ifeq ("$(DEFAULT_KERNEL_HEADERS)","2.6.11")
@@ -94,7 +88,6 @@ LINUX_HEADERS_SOURCE:=linux-libc-headers-2.6.11.0.tar.bz2
 LINUX_HEADERS_CAT:=$(BZCAT)
 LINUX_HEADERS_DIR:=$(TOOL_BUILD_DIR)/linux
 LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.6.11.0
-LINUX_HEADERS_IS_KERNEL=n
 endif
 
 ifeq ("$(DEFAULT_KERNEL_HEADERS)","2.6.12")
@@ -107,7 +100,6 @@ LINUX_HEADERS_SOURCE:=linux-libc-headers-2.6.12.0.tar.bz2
 LINUX_HEADERS_CAT:=$(BZCAT)
 LINUX_HEADERS_DIR:=$(TOOL_BUILD_DIR)/linux
 LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.6.12.0
-LINUX_HEADERS_IS_KERNEL=n
 endif
 
 
index 1ce6ec437ae8d46af6aa1efefb0054cc597dd908..6dc024a1aa6159930047535dcdeee1d8a6ec22b7 100644 (file)
@@ -19,6 +19,9 @@ KERNEL_ARCH:=$(shell $(SHELL) -c "echo \"$(ARCH)\" | sed -e \"s/-.*//\" \
        -e s/ppc.*/powerpc/ -e s/mips.*/mips/ \
        -e s/sh2.*/sh/ -e s/sh3.*/sh/ -e s/sh4.*/sh/")
 
+# assume old manually sanitized kernel-headers
+LINUX_HEADERS_IS_KERNEL=n
+
 include toolchain/kernel-headers/kernel-headers-new.makefile
 include toolchain/kernel-headers/kernel-headers-old.makefile