9
0
Fork 0

generate barebox.srec

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Antony Pavlov 2011-09-12 14:25:23 +04:00 committed by Sascha Hauer
parent 801c667d8c
commit bd348f953a
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View File

@ -31,6 +31,7 @@ cross_compile
barebox
barebox.S
barebox.bin
barebox.srec
barebox.netx
barebox.map
System.map

View File

@ -689,6 +689,9 @@ barebox: $(barebox-lds) $(barebox-head) $(barebox-common) $(kallsyms.o) FORCE
$(call if_changed_rule,barebox__)
$(Q)rm -f .old_version
barebox.srec: barebox
$(OBJCOPY) -O srec $< $@
# The actual objects are generated when descending,
# make sure no implicit rule kicks in
$(sort $(barebox-head) $(barebox-common) ) $(barebox-lds): $(barebox-dirs) ;