From 038fe953e6e396601d64c89022062e26358d26f0 Mon Sep 17 00:00:00 2001 From: Du Huanpeng Date: Mon, 16 Dec 2013 19:47:22 +0800 Subject: [PATCH] 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 Signed-off-by: Sascha Hauer --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1657b5ffa..5c3c3844f 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