]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - spl/Makefile
kbuild: use shorten logs for misc targets
[karo-tx-uboot.git] / spl / Makefile
index 542a2b08f6ca265881e2a1953d14f77a08e2c8d2..1d6380bb2c948f1598dacaaa3315128fdbcbf1cf 100644 (file)
@@ -234,8 +234,12 @@ $(u-boot-spl-dirs):
 # FIX ME
 cpp_flags := $(KBUILD_CPPFLAGS) $(CPPFLAGS) $(UBOOTINCLUDE) $(NOSTDINC_FLAGS)
 
+quiet_cmd_cpp_lds = LDS     $@
+cmd_cpp_lds = $(CPP) $(cpp_flags) $(LDPPFLAGS) -ansi -D__ASSEMBLY__ \
+               -x assembler-with-cpp -P -o $@ $<
+
 $(obj)/u-boot-spl.lds: $(LDSCRIPT) FORCE
-       $(CPP) $(cpp_flags) $(LDPPFLAGS) -I$(obj). -ansi -D__ASSEMBLY__ -P - < $< > $@
+       $(call if_changed,cpp_lds)
 
 # read all saved command lines