diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-09-28 12:51:25 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-09-28 12:51:25 +0000 |
commit | 7e472ca29c3bc7a1018ef3dc048befdd6b151a7d (patch) | |
tree | 1ba23fff63c2c0ff92c01226bd55868254cf18d2 /toolchain/kernel-headers/kernel-headers.mk | |
parent | 9ecac1185ecc30e028a0c326dc53624c80974914 (diff) | |
download | buildroot-novena-7e472ca29c3bc7a1018ef3dc048befdd6b151a7d.tar.gz buildroot-novena-7e472ca29c3bc7a1018ef3dc048befdd6b151a7d.zip |
- add possibility to use a 2.6.18 (full) kernel tarball for the libc-headers.
Diffstat (limited to 'toolchain/kernel-headers/kernel-headers.mk')
-rw-r--r-- | toolchain/kernel-headers/kernel-headers.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/kernel-headers.mk b/toolchain/kernel-headers/kernel-headers.mk index 7fc708a11..6f3a6ad55 100644 --- a/toolchain/kernel-headers/kernel-headers.mk +++ b/toolchain/kernel-headers/kernel-headers.mk @@ -84,6 +84,15 @@ LINUX_HEADERS_SOURCE:=linux-libc-headers-2.6.12.0.tar.bz2 LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.6.12.0 endif +ifeq ("$(strip $(DEFAULT_KERNEL_HEADERS))","2.6.18") +VERSION:=2 +PATCHLEVEL:=6 +SUBLEVEL:=18 +LINUX_HEADERS_SITE:=http://www.kernel.org/pub/linux/kernel/v2.6/ +LINUX_HEADERS_SOURCE:=linux-2.6.18.tar.bz2 +LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-2.6.18 +endif + LINUX_HEADERS_VERSION:=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL) LINUX_HEADERS_DIR:=$(TOOL_BUILD_DIR)/linux @@ -162,6 +171,9 @@ $(LINUX_HEADERS_DIR)/.configured: $(LINUX_HEADERS_DIR)/.patched (cd $(LINUX_HEADERS_DIR)/include; ln -fs asm-$(ARCH)$(NOMMU) asm;) \ fi touch $(LINUX_HEADERS_DIR)/include/linux/autoconf.h; +ifeq ("$(strip $(DEFAULT_KERNEL_HEADERS))","2.6.18") + (cd $(LINUX_HEADERS_DIR) ; $(MAKE) include/linux/version.h ; ) +endif touch $(LINUX_HEADERS_DIR)/.configured $(LINUX_KERNEL): $(LINUX_HEADERS_DIR)/.configured |