summaryrefslogtreecommitdiff
path: root/spl/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-02-24 11:12:19 +0900
committerTom Rini <trini@ti.com>2014-02-25 11:01:29 -0500
commit04a34c96b19dab48bfcc22b554227c8d9dca0238 (patch)
treee8b371c8430e86e4015a4392ca31121becc3a9eb /spl/Makefile
parentad0fed46b97d3b46e9a5be2a45ff77536544926b (diff)
downloadu-boot-imx-04a34c96b19dab48bfcc22b554227c8d9dca0238.zip
u-boot-imx-04a34c96b19dab48bfcc22b554227c8d9dca0238.tar.gz
u-boot-imx-04a34c96b19dab48bfcc22b554227c8d9dca0238.tar.bz2
kbuild: use shorten logs for misc targets
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'spl/Makefile')
-rw-r--r--spl/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/spl/Makefile b/spl/Makefile
index 542a2b0..1d6380b 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -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