
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.