diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2005-08-12 22:56:51 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2005-08-12 22:56:51 +0200 |
commit | e5445288318de74e1fb63920e7ed7bf48088c3c2 (patch) | |
tree | a39cc55a33fe3491158d9334edb3a4fbad6ed0d9 /board/voiceblue/Makefile | |
parent | ea99a7388118aa868c7bf8a7bb5689d8a84ede25 (diff) | |
download | u-boot-imx-e5445288318de74e1fb63920e7ed7bf48088c3c2.zip u-boot-imx-e5445288318de74e1fb63920e7ed7bf48088c3c2.tar.gz u-boot-imx-e5445288318de74e1fb63920e7ed7bf48088c3c2.tar.bz2 |
VoiceBlue update: eeprom tool can also store firmware version now.
eeprom.bin is runable by jumping at load address.
Patch by Ladislav Michl, 23 May 2005
Diffstat (limited to 'board/voiceblue/Makefile')
-rw-r--r-- | board/voiceblue/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/board/voiceblue/Makefile b/board/voiceblue/Makefile index 44be6ca..3b3e523 100644 --- a/board/voiceblue/Makefile +++ b/board/voiceblue/Makefile @@ -32,21 +32,23 @@ SOBJS := setup.o gcclibdir := $(shell dirname `$(CC) -print-libgcc-file-name`) LOAD_ADDR = 0x10400000 +LDSCRIPT = $(TOPDIR)/board/$(BOARDDIR)/eeprom.lds all: $(LIB) eeprom.srec eeprom.bin $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) -eeprom.srec: eeprom.o - $(LD) -g -Ttext $(LOAD_ADDR) -o $(<:.o=) -e $(<:.o=) $^ \ +eeprom.srec: eeprom.o eeprom_start.o + $(LD) -T $(LDSCRIPT) -g -Ttext $(LOAD_ADDR) \ + -o $(<:.o=) -e $(<:.o=) $^ \ -L../../examples -lstubs \ -L../../lib_generic -lgeneric \ -L$(gcclibdir) -lgcc $(OBJCOPY) -O srec $(<:.o=) $@ eeprom.bin: eeprom.srec - $(OBJCOPY) -O binary $< $@ 2>/dev/null + $(OBJCOPY) -I srec -O binary $< $@ 2>/dev/null clean: rm -f $(SOBJS) $(OBJS) eeprom eeprom.srec eeprom.bin |