Skip to contentSkip to conversation

generate barebox.srec

PATCH Applied Antony Pavlov 2 participants 2 messages Sep 12, 2011 – Sep 13, 2011 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 generate barebox.srec

---
 .gitignore |    1 +
 Makefile   |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)
.gitignore +1 -0
index 84d9f73..cc1f2e2 100644
@@ -31,6 +31,7 @@ cross_compile
 barebox
 barebox.S
 barebox.bin
+barebox.srec
 barebox.netx
 barebox.map
 System.map
Makefile +3 -0
index c100d24..5843db5 100644
@@ -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) ;
Signature · 7 lines
1.7.5.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 1 line · Antony Pavlov

Applied to next.

Sascha

Quoted 40 lines
---
 .gitignore |    1 +
 Makefile   |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)
.gitignore +1 -0
index 84d9f73..cc1f2e2 100644
@@ -31,6 +31,7 @@ cross_compile
 barebox
 barebox.S
 barebox.bin
+barebox.srec
 barebox.netx
 barebox.map
 System.map
Makefile +3 -0
index c100d24..5843db5 100644
@@ -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) ;
Signature · 7 lines
1.7.5.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox