summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-01-09 21:28:15 +0000
committerwdenk <wdenk>2005-01-09 21:28:15 +0000
commit6310eb9da74b1cf33194ae88275cc63b76e7a764 (patch)
tree0907eccba1dad0dd14c81f34e09976106d32dfa1 /Makefile
parenta562e1bd9d8e10ea2e51d08e66d35a6e1795153b (diff)
downloadbarebox-6310eb9da74b1cf33194ae88275cc63b76e7a764.tar.gz
barebox-6310eb9da74b1cf33194ae88275cc63b76e7a764.tar.xz
Patches by David Snowdon, 07 Sep 2004:
- add u-boot.hex target in the top level Makefile - add support for the UNSW/NICTA PLEB 2 board (pleb2) - use -mtune=xscale and -march=armv5 options for PXA
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d5d2713926..df4b3edc45 100644
--- a/Makefile
+++ b/Makefile
@@ -139,6 +139,9 @@ ALL = u-boot.srec u-boot.bin System.map
all: $(ALL)
+u-boot.hex: u-boot
+ $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
+
u-boot.srec: u-boot
$(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
@@ -1584,7 +1587,7 @@ clobber: clean
| xargs -0 rm -f
rm -f $(OBJS) *.bak tags TAGS
rm -fr *.*~
- rm -f u-boot u-boot.map $(ALL)
+ rm -f u-boot u-boot.map u-boot.hex $(ALL)
rm -f tools/crc32.c tools/environment.c tools/env/crc32.c
rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c
rm -f include/asm/proc include/asm/arch include/asm