summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-12-12 03:30:02 +0000
committerMike Frysinger <vapier@gentoo.org>2006-12-12 03:30:02 +0000
commit08e377aab130cc4196dcbb5093589d86946d92c3 (patch)
tree34ad28ab4ea93c72d5dc296fe7ba8868138b7218 /extra
parent29252f8d07c23f00a1590a576ed110573cebacd2 (diff)
we just want the kernel headers, not the whole kernel source ... so people may need to update their paths slightly
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.in.arch4
-rwxr-xr-xextra/scripts/gen_bits_syscall_h.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/extra/Configs/Config.in.arch b/extra/Configs/Config.in.arch
index 6845124c6..a981f7e0a 100644
--- a/extra/Configs/Config.in.arch
+++ b/extra/Configs/Config.in.arch
@@ -154,9 +154,9 @@ config DO_C99_MATH
If your applications require the newer C99 math library functions,
then answer Y.
-config KERNEL_SOURCE
+config KERNEL_HEADERS
string "Linux kernel header location"
- default "/usr/src/linux"
+ default "/usr/src/linux/include"
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 try to achieve binary
diff --git a/extra/scripts/gen_bits_syscall_h.sh b/extra/scripts/gen_bits_syscall_h.sh
index 0ba444007..116534ab3 100755
--- a/extra/scripts/gen_bits_syscall_h.sh
+++ b/extra/scripts/gen_bits_syscall_h.sh
@@ -14,7 +14,7 @@
#
# Warning!!! This does _no_ error checking!!!
-INCLUDE_OPTS="-nostdinc -I${KERNEL_SOURCE}"
+INCLUDE_OPTS="-nostdinc -I${KERNEL_HEADERS}"
case $CC in
*icc*) CC_SYSNUM_ARGS="-dM" ;;