summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
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" ;;