From mboxrd@z Thu Jan 1 00:00:00 1970 From: George G. Davis Date: Fri, 12 Sep 2003 13:26:47 -0400 Subject: [U-Boot-Users] Unable to compile the U-boot-0.4.8 version for OMAP1610/1510/smdk2410 In-Reply-To: <20030912161314.B299CC59E4@atlas.denx.de> References: <20030912161314.B299CC59E4@atlas.denx.de> Message-ID: <3F6201D7.8060906@comcast.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > Dear George, > > in message <3F61D58D.7090308@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: ftp://ftp.leo.org/pub/eldk/2.1.0/eldk-arm-linux-x86 and it has the exact same build failure as: ftp://ftp.arm.linux.org.uk/pub/armlinux/toolchain/cross-2.95.3.tar.bz2 Due to: make[1]: 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? -- Regards, George > > >>--- 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. >> # >> >>+include $(TOPDIR)/config.mk >>+ > > > But this patch is OK anyway. Thanks for the hint. > > Best regards, > > Wolfgang Denk >