]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
config.mk: remove un-needed REMOTE_BUILD check
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Fri, 22 May 2009 17:28:52 +0000 (19:28 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 12 Jun 2009 18:45:48 +0000 (20:45 +0200)
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@jcrosoft.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
config.mk

index b1254e9042b01d678b2f475aa13b362604de50e8..8d47a8ea58c58422f593791b485c8dc75a026aac 100644 (file)
--- 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
 
 #########################################################################