diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2011-09-12 14:25:23 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-09-13 09:29:23 +0200 |
commit | bd348f953af1766ee5e41be4d9059a3e0a32b17f (patch) | |
tree | ead48fdf0e7003c2161fb5eec09487265d4cd32f | |
parent | 801c667d8c5900171b063def9a73ba252120a493 (diff) | |
download | barebox-bd348f953af1766ee5e41be4d9059a3e0a32b17f.tar.gz barebox-bd348f953af1766ee5e41be4d9059a3e0a32b17f.tar.xz |
generate barebox.srec
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 84d9f73580..cc1f2e2446 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,7 @@ cross_compile barebox barebox.S barebox.bin +barebox.srec barebox.netx barebox.map System.map @@ -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) ; |