From 08e377aab130cc4196dcbb5093589d86946d92c3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 12 Dec 2006 03:30:02 +0000 Subject: we just want the kernel headers, not the whole kernel source ... so people may need to update their paths slightly --- extra/Configs/Config.in.arch | 4 ++-- extra/scripts/gen_bits_syscall_h.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'extra') 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" ;; -- cgit v1.2.3