
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 --- 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
#########################################################################