From 2d5b561e2bfdee8552a99b2cf93016cce2a74895 Mon Sep 17 00:00:00 2001 From: wdenk Date: Tue, 14 Oct 2003 19:43:55 +0000 Subject: * Make sure HUSH is initialized for running auto-update scripts * Make 5200 reset command _really_ reset the board, without running any other code after it * Fix flash mapping and display on P3G4 board * Patch by Kyle Harris, 15 Jul 2003: - add support for Intel IXP425 CPU - add support for IXDP425 eval board --- examples/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'examples/Makefile') diff --git a/examples/Makefile b/examples/Makefile index 90d26550b0..a353203128 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -73,6 +73,10 @@ ifeq ($(BOARD),oxc) SREC += eepro100_eeprom.srec endif +ifeq ($(BIG_ENDIAN),y) +EX_LDFLAGS += -EB +endif + OBJS = $(SREC:.srec=.o) LIB = libstubs.a @@ -94,7 +98,8 @@ $(LIB): .depend $(LIBOBJS) $(AR) crv $@ $(LIBOBJS) %.srec: %.o $(LIB) - $(LD) -g -Ttext $(LOAD_ADDR) -o $(<:.o=) -e $(<:.o=) $< $(LIB) \ + $(LD) -g $(EX_LDFLAGS) -Ttext $(LOAD_ADDR) \ + -o $(<:.o=) -e $(<:.o=) $< $(LIB) \ -L$(gcclibdir) -lgcc $(OBJCOPY) -O srec $(<:.o=) $@ -- cgit v1.2.1