summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDu Huanpeng <u74147@gmail.com>2013-12-16 19:47:22 +0800
committerSascha Hauer <s.hauer@pengutronix.de>2013-12-19 09:10:08 +0100
commit038fe953e6e396601d64c89022062e26358d26f0 (patch)
treef8135050b05fad64c3c2f8ebc668fe96e2d8f94b /Makefile
parent3b04e00d7ecfa1fc74296a12fd77fe0e92c39039 (diff)
downloadbarebox-038fe953e6e396601d64c89022062e26358d26f0.tar.gz
barebox-038fe953e6e396601d64c89022062e26358d26f0.tar.xz
Makefile: fix endless make when 'make barebox.s'
add the same target barebox.s (with a lowercase 's') to make both work with barebox.S and barebox.s. Signed-off-by: Du Huanpeng <u74147@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1657b5ffa3..5c3c3844f4 100644
--- a/Makefile
+++ b/Makefile
@@ -701,7 +701,7 @@ barebox.uimage: $(KBUILD_BINARY) FORCE
$(call if_changed,barebox_mkimage)
ifdef CONFIG_X86
-barebox.S: barebox
+barebox.S barebox.s: barebox
ifdef CONFIG_X86_HDBOOT
@echo "-------------------------------------------------" > barebox.S
@echo " * MBR content" >> barebox.S
@@ -723,7 +723,7 @@ endif
@echo " * Init Calls content" >> barebox.S
$(Q)$(OBJDUMP) -j .barebox_initcalls -d barebox >> barebox.S
else
-barebox.S: barebox FORCE
+barebox.S barebox.s: barebox FORCE
$(call if_changed,disasm)
endif