From: Jean-Christophe PLAGNIOL-VILLARD Date: Fri, 22 May 2009 17:28:52 +0000 (+0200) Subject: config.mk: remove un-needed REMOTE_BUILD check X-Git-Tag: v2009.08-rc1~153^2~55 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3112030a430553768de5d30c05bedf8710784452;p=u-boot 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 Acked-by: Mike Frysinger --- 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 #########################################################################