summaryrefslogtreecommitdiff
path: root/extra/Configs/Config.in.arch
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-01-26 13:44:47 -0500
committerMike Frysinger <vapier@gentoo.org>2013-01-26 13:46:55 -0500
commitbb701610aaa645644bfa046b30711fc5acb7c6c2 (patch)
tree2dfaa3a9bb08aec2a92f6e294b2176295b360ccf /extra/Configs/Config.in.arch
parent406b1aba4b47c8313f764c68b79eefb697ef5525 (diff)
buildsys: allow the toolchain to search its dirs for kernel headers
Setting KERNEL_HEADERS up to the exact path all the time is a pita, especially when the toolchain is often times already configured to do the right thing. So if the user has set that to "", don't force any specific paths. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'extra/Configs/Config.in.arch')
-rw-r--r--extra/Configs/Config.in.arch4
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/Configs/Config.in.arch b/extra/Configs/Config.in.arch
index e97786b81..6d93433dc 100644
--- a/extra/Configs/Config.in.arch
+++ b/extra/Configs/Config.in.arch
@@ -192,7 +192,7 @@ config UCLIBC_HAS_LONG_DOUBLE_MATH
config KERNEL_HEADERS
string "Linux kernel header location"
- default "/usr/include"
+ default ""
help
The kernel source you use to compile with should be the same
as the Linux kernel you run your apps on. uClibc doesn't even
@@ -203,6 +203,8 @@ config KERNEL_HEADERS
but then run on Linux 2.0.x, lchown will be compiled into uClibc,
but won't work at all. You have been warned.
+ If you don't set this, we'll assume the toolchain can find them.
+
config UCLIBC_UCLINUX_BROKEN_MUNMAP
bool
depends on !ARCH_USE_MMU