aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-06-21 09:49:35 -0700
committerH. Peter Anvin <hpa@zytor.com>2006-06-21 09:49:35 -0700
commit4e51186fb663b57ac7c53517947510d2e1e9de01 (patch)
tree6b642e0fbf18e85b276c76e80c9017220155e6c7
parent79317ba49e3f83d40f37b59fcdd5bd7c7635ee32 (diff)
[klibc] Need EXTRA_KLIBCCFLAGS for O= to work correctly.
For the syscalls build, need EXTRA_KLIBCCFLAGS in order for the build not to break with O=. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--usr/klibc/syscalls/Kbuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/klibc/syscalls/Kbuild b/usr/klibc/syscalls/Kbuild
index debcd16329b1b..e7ae1d24b4015 100644
--- a/usr/klibc/syscalls/Kbuild
+++ b/usr/klibc/syscalls/Kbuild
@@ -28,6 +28,8 @@ clean-files += $(KLIBCINC)/klibc/havesyscall.h
# All the syscall stubs
clean-files += *.o *.S *.c *.list *.bin
+EXTRA_KLIBCCFLAGS := -I$(srctree)/$(src)
+
quiet_cmd_makelist = LIST $@
cmd_makelist = echo '$(filter-out FORCE,$^)' > $@