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.S
|
||||
barebox.bin
|
||||
barebox.srec
|
||||
barebox.netx
|
||||
barebox.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__)
|
||||
$(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) ;
|
||||
|
|
Loading…
Reference in New Issue