mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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>
This commit is contained in:
parent
651351fe98
commit
3112030a43
1 changed files with 0 additions and 12 deletions
12
config.mk
12
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
|
||||
|
||||
#########################################################################
|
||||
|
|
Loading…
Reference in a new issue