summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-10-14 19:43:55 +0000
committerwdenk <wdenk>2003-10-14 19:43:55 +0000
commit2d5b561e2bfdee8552a99b2cf93016cce2a74895 (patch)
tree33a47c8393624e338d0cc8914c773ab9613cb385 /examples
parentf72da3406bf6f1c1bce9aa03b07d070413a916af (diff)
* Make sure HUSH is initialized for running auto-update scriptsLABEL_2003_10_14_2140
* 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
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 90d26550b03..a353203128e 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=) $@