[U-Boot] [PATCH] 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 --- 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
#########################################################################

On Friday 22 May 2009 13:28:52 Jean-Christophe PLAGNIOL-VILLARD wrote:
as $(obj) is empty when in tree build
%.s: %.S $(CPP) $(AFLAGS) -o $@ $<
and
$(obj)%.s: %.S $(CPP) $(AFLAGS) -o $@ $<
are the same
i wondered about that ... assuming in/out of tree still builds for you, this sounds good to me -mike

On 02:43 Sun 24 May , Mike Frysinger wrote:
On Friday 22 May 2009 13:28:52 Jean-Christophe PLAGNIOL-VILLARD wrote:
as $(obj) is empty when in tree build
%.s: %.S $(CPP) $(AFLAGS) -o $@ $<
and
$(obj)%.s: %.S $(CPP) $(AFLAGS) -o $@ $<
are the same
i wondered about that ... assuming in/out of tree still builds for you, this sounds good to me
It's build correctly for me :)
Best Regards, J.

On Sunday 24 May 2009 08:03:11 Jean-Christophe PLAGNIOL-VILLARD wrote:
On 02:43 Sun 24 May , Mike Frysinger wrote:
On Friday 22 May 2009 13:28:52 Jean-Christophe PLAGNIOL-VILLARD wrote:
as $(obj) is empty when in tree build
%.s: %.S $(CPP) $(AFLAGS) -o $@ $<
and
$(obj)%.s: %.S $(CPP) $(AFLAGS) -o $@ $<
are the same
i wondered about that ... assuming in/out of tree still builds for you, this sounds good to me
It's build correctly for me :)
Acked-by: Mike Frysinger vapier@gentoo.org -mike

Dear Jean-Christophe PLAGNIOL-VILLARD,
In message 1243013332-8436-1-git-send-email-plagnioj@jcrosoft.com you wrote:
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(-)
Applied to next, thanks.
Best regards,
Wolfgang Denk
participants (3)
-
Jean-Christophe PLAGNIOL-VILLARD
-
Mike Frysinger
-
Wolfgang Denk