summaryrefslogtreecommitdiff
path: root/spl
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-02-24 11:12:15 +0900
committerTom Rini <trini@ti.com>2014-02-25 11:01:29 -0500
commit9bf215b0355bddc5792d31b6c41a8bd1bfa9e641 (patch)
tree86dfef60bc240ad4ea025104ad0fd4077e245b90 /spl
parentf9c235fd9950ca1b150f8d40d358e1a58cbb0ea8 (diff)
downloadu-boot-imx-9bf215b0355bddc5792d31b6c41a8bd1bfa9e641.zip
u-boot-imx-9bf215b0355bddc5792d31b6c41a8bd1bfa9e641.tar.gz
u-boot-imx-9bf215b0355bddc5792d31b6c41a8bd1bfa9e641.tar.bz2
kbuild: use shorten logs for mkimage rules
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'spl')
-rw-r--r--spl/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/spl/Makefile b/spl/Makefile
index 94e721f..542a2b0 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -169,13 +169,16 @@ LDPPFLAGS += \
$(shell $(LD) --version | \
sed -ne 's/GNU ld version \([0-9][0-9]*\)\.\([0-9][0-9]*\).*/-DLD_MAJOR=\1 -DLD_MINOR=\2/p')
-$(OBJTREE)/MLO: $(obj)/u-boot-spl.bin
- $(OBJTREE)/tools/mkimage -T omapimage \
- -a $(CONFIG_SPL_TEXT_BASE) -d $< $@
+quiet_cmd_mkimage = UIMAGE $@
+cmd_mkimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -d $< $@ \
+ $(if $(KBUILD_VERBOSE:1=), >/dev/null)
-$(OBJTREE)/MLO.byteswap: $(obj)/u-boot-spl.bin
- $(OBJTREE)/tools/mkimage -T omapimage -n byteswap \
- -a $(CONFIG_SPL_TEXT_BASE) -d $< $@
+MKIMAGEFLAGS_MLO = -T omapimage -a $(CONFIG_SPL_TEXT_BASE)
+
+MKIMAGEFLAGS_MLO.byteswap = -T omapimage -n byteswap -a $(CONFIG_SPL_TEXT_BASE)
+
+MLO MLO.byteswap: $(obj)/u-boot-spl.bin
+ $(call if_changed,mkimage)
$(objtree)/SPL: $(obj)/u-boot-spl.bin
$(Q)$(MAKE) $(build)=spl/arch/arm/imx-common $@