[PATCH] Makefile: fix endless make when 'make barebox.s'

u74147 at gmail.com u74147 at gmail.com
Mon Dec 16 06:47:22 EST 2013


From: Du Huanpeng <u74147 at gmail.com>

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 at gmail.com>
---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 5e17a49..d7b5d23 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
 
-- 
1.7.9.5




More information about the barebox mailing list