summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2008-01-10 09:30:11 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2008-01-10 09:30:11 +0000
commita04459a2a37d99cd44faf1e90195813fa75bb41d (patch)
tree8705f0bc568a0276ab21f02a67b0cbf1f3715200 /toolchain
parent0c85dfd60c32c405dc102453ac028ce39ec96df3 (diff)
Define kernelversion if ext toolchain is used
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/kernel-headers/kernel-headers.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/kernel-headers.mk b/toolchain/kernel-headers/kernel-headers.mk
index 81dcab1ac..6cde8fba5 100644
--- a/toolchain/kernel-headers/kernel-headers.mk
+++ b/toolchain/kernel-headers/kernel-headers.mk
@@ -6,8 +6,14 @@
# by a 'make clean' so don't put anything sacred in here...
#
#############################################################
+ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
+DEFAULT_KERNEL_HEADERS:=$(strip $(subst ",, $(BR2_LINUX26_VERSION)))
+#"))
+else
DEFAULT_KERNEL_HEADERS:=$(strip $(subst ",, $(BR2_DEFAULT_KERNEL_HEADERS)))
#"))
+endif
+
LINUX_HEADERS_SITE:=127.0.0.1
LINUX_HEADERS_SOURCE:=unspecified-kernel-headers
LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-null