summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-06-13 14:28:57 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-06-13 14:28:57 +0000
commitf85cd12c170850aa44ba4bf12d2dfcc31e9716ed (patch)
tree9e806b58f415b8b4cf501731146eed68ec82c20c /toolchain
parentb51e20552128e55f60b3165cd106addfe17d9cd9 (diff)
toolchain: also setup kernel headers when ext toolchain is used
Provide kernel headers when ext toolchain is used, so we can compile packages which need them.
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/Config.in.23
-rw-r--r--toolchain/kernel-headers/kernel-headers.mk6
2 files changed, 3 insertions, 6 deletions
diff --git a/toolchain/Config.in.2 b/toolchain/Config.in.2
index c99e4fb82..bac00e784 100644
--- a/toolchain/Config.in.2
+++ b/toolchain/Config.in.2
@@ -1,7 +1,8 @@
#
-if BR2_TOOLCHAIN_SOURCE
source "toolchain/kernel-headers/Config.in"
+
+if BR2_TOOLCHAIN_SOURCE
source "toolchain/uClibc/Config.in"
source "toolchain/binutils/Config.in"
source "toolchain/gcc/Config.in"
diff --git a/toolchain/kernel-headers/kernel-headers.mk b/toolchain/kernel-headers/kernel-headers.mk
index 6cde8fba5..fc8acda05 100644
--- a/toolchain/kernel-headers/kernel-headers.mk
+++ b/toolchain/kernel-headers/kernel-headers.mk
@@ -6,13 +6,9 @@
# 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