Cedric Le Goater wrote:
Michal Piotrowski wrote:
usr/klibc/syscalls/typesize.c:1:23: error: syscommon.h: No such file
or directory
That one's probably just a parallel kbuild race. Type `make' again.
"make O=/dir" is culprit.
Regards,
Michal
That's how i fixed it. Is that the right way to do it ?
Probably not. I suspect what's needed is the same EXTRA_KLIBCCFLAGS as
in socketcalls/Kbuild.
-hpa
diff --git a/usr/klibc/syscalls/Kbuild b/usr/klibc/syscalls/Kbuild
index debcd16..e7ae1d2 100644
--- a/usr/klibc/syscalls/Kbuild
+++ b/usr/klibc/syscalls/Kbuild
@@ -28,6 +28,8 @@ clean-files += $(KLIBCINC)/klibc/havesys
# 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,$^)' > $@
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]