[U-Boot-Users] Unable to compile the U-boot-0.4.8 version for OMAP1610/1510/smdk2410
George G. Davis
davis_g at comcast.net
Fri Sep 12 19:26:47 CEST 2003
Wolfgang Denk wrote:
> Dear George,
> in message <3F61D58D.7090308 at comcast.net> you wrote:
>>Um, it's not the cross compiler that's doing it in this case. gccincdir
>>is not defined for drivers/sk98lin. Try the attached patch. It WFM/YMMV.
> Well, gccincdir is not needed for drivers/sk98lin/* - at least not
> with the compilers used in the ELDK.
Hm, that's odd. FWIW, I just tested:
and it has the exact same build failure as:
make: Entering directory `/Projects/OSS/cvs.sourceforge.net/u-boot/u-boot/drivers/sk98lin'
arm-linux-gcc ... -isystem /usr/lib/gcc-lib/i386-redhat-linux/2.96/include ... -c -o skge.o skge.c
W/o the patch. But I'm just being pedantic now. : )
> Also, I seriously doubt if
> drivers/sk98lin is actually used by the omap1610inn board.
Correct, it's not used for omap1610inn board. But it gets built
anyway and causes the build to fail due to "-isystem $(gccincdir)"
where gccincdir is not explicitly defined and is probably just
picking up a default from some builtin makerules or something?
>>--- drivers/sk98lin/Makefile.orig Fri Sep 12 10:15:26 2003
>>+++ drivers/sk98lin/Makefile Fri Sep 12 10:11:56 2003
>>@@ -25,6 +25,8 @@
>> # Makefile for the SysKonnect SK-98xx device driver.
> But this patch is OK anyway. Thanks for the hint.
> Best regards,
> Wolfgang Denk
More information about the U-Boot