From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Fri, 30 Jan 2009 16:28:50 +0100 Subject: [U-Boot] [PATCH 2/2] ixp: add missing os define In-Reply-To: <20090130152428.GB9067@game.jcrosoft.org> References: <20090130113311.GF1920@game.jcrosoft.org> <1233315245-21758-1-git-send-email-plagnioj@jcrosoft.com> <1233315245-21758-2-git-send-email-plagnioj@jcrosoft.com> <20090130142448.E14C5832E416@gemini.denx.de> <20090130145614.GA9067@game.jcrosoft.org> <20090130152017.748F4832E416@gemini.denx.de> <20090130152428.GB9067@game.jcrosoft.org> Message-ID: <20090130152850.GC9067@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 16:24 Fri 30 Jan , Jean-Christophe PLAGNIOL-VILLARD wrote: > On 16:20 Fri 30 Jan , Wolfgang Denk wrote: > > Dear Jean-Christophe PLAGNIOL-VILLARD, > > > > In message <20090130145614.GA9067@game.jcrosoft.org> you wrote: > > > > > > > > -LOCAL_CFLAGS += -I$(TOPDIR)/cpu/ixp/npe/include -DCONFIG_IXP425_COMPONENT_ETHDB > > > > > +LOCAL_CFLAGS += -I$(TOPDIR)/cpu/ixp/npe/include -DCONFIG_IXP425_COMPONENT_ETHDB -D__linux > > > > > > > > Why would that be needed? > > > > > > > > Probably the code should be fixed instead. > > > we can not modify the npe code and this code requiered it > > > > Which part needed it? What was the error message without it? > the cpe library expect we specify on which os we run for the ntohs/l & co > function (IxOsalEndianess.h) if you compile u-boot with arm-elf-gcc __linux will not be define if you compile it with arm-linux-gcc it will be Best Regards, J.