[U-Boot] [PATCH] config.mk: remove un-needed REMOTE_BUILD check

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri May 22 19:28:52 CEST 2009


as $(obj) is empty when in tree build

%.s:	%.S
	$(CPP) $(AFLAGS) -o $@ $<

and

$(obj)%.s:	%.S
	$(CPP) $(AFLAGS) -o $@ $<

are the same

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 config.mk |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/config.mk b/config.mk
index b1254e9..8d47a8e 100644
--- a/config.mk
+++ b/config.mk
@@ -206,23 +206,11 @@ export	TEXT_BASE PLATFORM_CPPFLAGS PLATFORM_RELFLAGS CPPFLAGS CFLAGS AFLAGS
 
 #########################################################################
 
-ifndef REMOTE_BUILD
-
-%.s:	%.S
-	$(CPP) $(AFLAGS) -o $@ $<
-%.o:	%.S
-	$(CC) $(AFLAGS) -c -o $@ $<
-%.o:	%.c
-	$(CC) $(CFLAGS) -c -o $@ $<
-
-else
-
 $(obj)%.s:	%.S
 	$(CPP) $(AFLAGS) -o $@ $<
 $(obj)%.o:	%.S
 	$(CC) $(AFLAGS) -c -o $@ $<
 $(obj)%.o:	%.c
 	$(CC) $(CFLAGS) -c -o $@ $<
-endif
 
 #########################################################################
-- 
1.6.2.4



More information about the U-Boot mailing list