]> git.sur5r.net Git - u-boot/blobdiff - Makefile
kbuild: use shorten logs for misc targets
[u-boot] / Makefile
index adb40e4512872546bda265e75f63105618226a2d..0f321d2aac73fef5123e7fc94513afadfe92b837 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1048,9 +1048,12 @@ depend dep:
        @echo '*** Warning: make $@ is unnecessary now.'
 
 # ---------------------------------------------------------------------------
+quiet_cmd_cpp_lds = LDS     $@
+cmd_cpp_lds = $(CPP) $(cpp_flags) $(LDPPFLAGS) -ansi -D__ASSEMBLY__ \
+               -x assembler-with-cpp -P -o $@ $<
 
-u-boot.lds: $(LDSCRIPT) prepare
-               $(CPP) $(cpp_flags) $(LDPPFLAGS) -ansi -D__ASSEMBLY__ -P - <$< >$@
+u-boot.lds: $(LDSCRIPT) prepare FORCE
+       $(call if_changed,cpp_lds)
 
 PHONY += nand_spl
 nand_spl: prepare