Messages in this thread Patch in this message | | | Date | Wed, 21 Jun 2006 09:44:44 -0700 | From | "H. Peter Anvin" <> | Subject | Re: 2.6.17-mm1 |
| |
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,$^)' > $@ | |