[klibc] [PATCH] klibc: fix build breakage with make O=..
Sam Ravnborg
sam at ravnborg.org
Tue Apr 11 13:16:39 PDT 2006
The *.c files in socketcalls/ are generated.
For klibc kbuild does on purpose not add this include automagically
so do it explicit here.
This allows klibc to be build using make O=.. in the kernel.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
---
diff --git a/klibc/socketcalls/Kbuild b/klibc/socketcalls/Kbuild
index c3f1526..7c7190f 100644
--- a/klibc/socketcalls/Kbuild
+++ b/klibc/socketcalls/Kbuild
@@ -19,6 +19,8 @@ targets += socketcalls.mk
targets += $(socketcall-objs)
clean-files += *.S *.c *.o
+EXTRA_KLIBCCFLAGS := -I$(srctree)/$(src)
+
# Create reloctable composite object file
$(obj)/socketcalls.o: $(call objectify,$(socketcall-objs)) FORCE
$(call if_changed,klibcld)
More information about the klibc
mailing list