Re: 2.6.17-mm1
From: Cedric Le Goater
Date: Wed Jun 21 2006 - 09:52:48 EST
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 ?
Thanks,
C.
From: Cedric Le Goater <clg@xxxxxxxxxx>
Subject: [KLIBC] fix compile issue when KBUILD_OUTPUT is used
Signed-off-by: Cedric Le Goater <clg@xxxxxxxxxx>
---
scripts/Kbuild.klibc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: 2.6.17-mm1/scripts/Kbuild.klibc
===================================================================
--- 2.6.17-mm1.orig/scripts/Kbuild.klibc
+++ 2.6.17-mm1/scripts/Kbuild.klibc
@@ -85,7 +85,7 @@ KLIBCCPPFLAGS := -I$(KLIBCINC)/arch/$
# kernel include paths
KLIBCKERNELSRC ?= $(srctree)/
KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)include \
- $(if $(KBUILD_SRC),-I$(KLIBCKERNELOBJ)include2 -I$(KLIBCKERNELOBJ)include -I$(srctree)/include) \
+ $(if $(KBUILD_SRC),-I$(KLIBCKERNELOBJ)include2 -I$(KLIBCKERNELOBJ)include -I$(srctree)/include -I$(srctree)/usr/klibc/syscalls) \
$(KLIBCARCHINCFLAGS)
# klibc definitions