summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-10-09 03:58:49 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-10-09 03:58:49 +0200
commit597da1b76ebd0083f929e59801f72a6dd6aef5cd (patch)
tree533372bf174baae1b81bccae1b6ba300a518d642 /Makefile
parent0e7c77a3fdfa0504c31594dd800e460820a5fff1 (diff)
parent502ecda2d17ed4b50b6c4d5afb04832013996173 (diff)
downloadbarebox-597da1b76ebd0083f929e59801f72a6dd6aef5cd.tar.gz
barebox-597da1b76ebd0083f929e59801f72a6dd6aef5cd.tar.xz
Merge branch 'next'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 972478d95b..5414e63136 100644
--- a/Makefile
+++ b/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) ;