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:
parent
801c667d8c
commit
bd348f953a
|
@ -31,6 +31,7 @@ cross_compile
|
||||||
barebox
|
barebox
|
||||||
barebox.S
|
barebox.S
|
||||||
barebox.bin
|
barebox.bin
|
||||||
|
barebox.srec
|
||||||
barebox.netx
|
barebox.netx
|
||||||
barebox.map
|
barebox.map
|
||||||
System.map
|
System.map
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -689,6 +689,9 @@ barebox: $(barebox-lds) $(barebox-head) $(barebox-common) $(kallsyms.o) FORCE
|
||||||
$(call if_changed_rule,barebox__)
|
$(call if_changed_rule,barebox__)
|
||||||
$(Q)rm -f .old_version
|
$(Q)rm -f .old_version
|
||||||
|
|
||||||
|
barebox.srec: barebox
|
||||||
|
$(OBJCOPY) -O srec $< $@
|
||||||
|
|
||||||
# The actual objects are generated when descending,
|
# The actual objects are generated when descending,
|
||||||
# make sure no implicit rule kicks in
|
# make sure no implicit rule kicks in
|
||||||
$(sort $(barebox-head) $(barebox-common) ) $(barebox-lds): $(barebox-dirs) ;
|
$(sort $(barebox-head) $(barebox-common) ) $(barebox-lds): $(barebox-dirs) ;
|
||||||
|
|
Loading…
Reference in New Issue