mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
Revert "build: Use filechk rules to create and update u-boot.lds"
This reverts commita8b993eb81
. Commita8b993eb
claims it fixes u-boot.lds rule by replacing $(call if_changed) with $(call filechk). But the problem had already been fixed by commit395e60cd
a few days before commita8b993eb
was posted. There is no reason to apply commita8b993eb
. What is worse is $(call filechk) is too strong to fix the problem and looks weird. Date of the two patches: [1] commit395e60cdc2
Author: Masahiro Yamada <yamada.m@jp.panasonic.com> AuthorDate: Wed Apr 9 20:10:43 2014 +0900 Commit: Tom Rini <trini@ti.com> CommitDate: Fri Apr 11 10:08:42 2014 -0400 replaces $(call if_changed) -> $(call if_changed_dep) [2] commita8b993eb81
Author: Jon Loeliger <jon.loeliger@oracle.com> AuthorDate: Tue Apr 15 16:09:37 2014 -0500 Commit: Tom Rini <trini@ti.com> CommitDate: Fri Apr 18 16:14:16 2014 -0400 replaces $(call if_changed) -> $(call filechk) A conflict must have happened when applying [2], but somehow it was applied, sadly. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Jon Loeliger <jon.loeliger@oracle.com> Cc: Andreas Bießmann <andreas.devel@googlemail.com> Cc: Tom Rini <trini@ti.com>
This commit is contained in:
parent
b149c4c399
commit
794d5f5540
1 changed files with 4 additions and 5 deletions
9
Makefile
9
Makefile
|
@ -1093,13 +1093,12 @@ depend dep:
|
||||||
@echo '*** Warning: make $@ is unnecessary now.'
|
@echo '*** Warning: make $@ is unnecessary now.'
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
define filechk_ubootlds
|
quiet_cmd_cpp_lds = LDS $@
|
||||||
($(CPP) -Wp,-MD,$(depfile) $(cpp_flags) $(LDPPFLAGS) -ansi \
|
cmd_cpp_lds = $(CPP) -Wp,-MD,$(depfile) $(cpp_flags) $(LDPPFLAGS) -ansi \
|
||||||
-D__ASSEMBLY__ -x assembler-with-cpp -P -o - -)
|
-D__ASSEMBLY__ -x assembler-with-cpp -P -o $@ $<
|
||||||
endef
|
|
||||||
|
|
||||||
u-boot.lds: $(LDSCRIPT) prepare FORCE
|
u-boot.lds: $(LDSCRIPT) prepare FORCE
|
||||||
$(call filechk,ubootlds)
|
$(call if_changed_dep,cpp_lds)
|
||||||
|
|
||||||
PHONY += nand_spl
|
PHONY += nand_spl
|
||||||
nand_spl: prepare
|
nand_spl: prepare
|
||||||
|
|
Loading…
Reference in a new issue