summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-05-22 19:28:52 +0200
committerWolfgang Denk <wd@denx.de>2009-06-12 20:45:48 +0200
commit3112030a430553768de5d30c05bedf8710784452 (patch)
tree6563e3c529ebbf205d5a3ee59f3637c222f4d713 /config.mk
parent651351fe980b20217b014b9a888398f18d77951c (diff)
config.mk: remove un-needed REMOTE_BUILD check
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>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk12
1 files changed, 0 insertions, 12 deletions
diff --git a/config.mk b/config.mk
index b1254e9042..8d47a8ea58 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
#########################################################################