Re: 2.6.17-mm1

From: H. Peter Anvin
Date: Wed Jun 21 2006 - 12:43:58 EST


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,$^)' > $@