summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-03-11 11:05:12 +0900
committerTom Rini <trini@ti.com>2014-03-12 17:04:40 -0400
commit22dbf14f5dfcc7295f8e562898a49ffb3608d08c (patch)
treed538c6d9d87aed104a582fbe91406c1546bcb4b6
parent07e27ce013ddb28c5c0725d65b1aa28fd95fcd87 (diff)
downloadu-boot-imx-22dbf14f5dfcc7295f8e562898a49ffb3608d08c.zip
u-boot-imx-22dbf14f5dfcc7295f8e562898a49ffb3608d08c.tar.gz
u-boot-imx-22dbf14f5dfcc7295f8e562898a49ffb3608d08c.tar.bz2
kbuild: use short logs for some board specific make rules
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: David Updegraff <dave@cray.com> Cc: Andre Schwarz <andre.schwarz@matrix-vision.de>
-rw-r--r--board/cray/L1/Makefile15
-rw-r--r--board/matrix_vision/mvblm7/Makefile8
-rw-r--r--board/matrix_vision/mvsmr/Makefile8
3 files changed, 26 insertions, 5 deletions
diff --git a/board/cray/L1/Makefile b/board/cray/L1/Makefile
index 63f43da..655f530 100644
--- a/board/cray/L1/Makefile
+++ b/board/cray/L1/Makefile
@@ -9,10 +9,19 @@ obj-y = L1.o flash.o
obj-y += init.o
obj-y += bootscript.o
-$(obj)/bootscript.c: $(obj)/bootscript.image
- od -t x1 -v -A x $^ | awk -f $(srctree)/$(src)/x2c.awk > $@
+quiet_cmd_awk = AWK $@
+ cmd_awk = od -t x1 -v -A x $< | $(AWK) -f $(filter-out $<,$^) > $@
+$(obj)/bootscript.c: $(obj)/bootscript.image $(src)/x2c.awk
+ $(call cmd,awk)
+
+quiet_cmd_mkimage = UIMAGE $@
+cmd_mkimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -d $< $@ \
+ $(if $(KBUILD_VERBOSE:1=), >/dev/null)
+
+MKIMAGEFLAGS_bootscript.image := -A ppc -O linux -T script -C none \
+ -a 0 -e 0 -n bootscript
$(obj)/bootscript.image: $(src)/bootscript.hush
- -$(OBJTREE)/tools/mkimage -A ppc -O linux -T script -C none -a 0 -e 0 -n bootscript -d $< $@
+ $(call cmd,mkimage)
clean-files := bootscript.c bootscript.image \ No newline at end of file
diff --git a/board/matrix_vision/mvblm7/Makefile b/board/matrix_vision/mvblm7/Makefile
index 1bc1d61..b5987fd 100644
--- a/board/matrix_vision/mvblm7/Makefile
+++ b/board/matrix_vision/mvblm7/Makefile
@@ -8,5 +8,11 @@ obj-y := mvblm7.o pci.o fpga.o
extra-y := bootscript.img
+quiet_cmd_mkimage = UIMAGE $@
+cmd_mkimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -d $< $@ \
+ $(if $(KBUILD_VERBOSE:1=), >/dev/null)
+
+MKIMAGEFLAGS_bootscript.image := -T script -C none -n M7_script
+
$(obj)/bootscript.img: $(src)/bootscript
- @mkimage -T script -C none -n M7_script -d $< $@
+ $(call cmd,mkimage)
diff --git a/board/matrix_vision/mvsmr/Makefile b/board/matrix_vision/mvsmr/Makefile
index 9454259..fae7ec2 100644
--- a/board/matrix_vision/mvsmr/Makefile
+++ b/board/matrix_vision/mvsmr/Makefile
@@ -12,5 +12,11 @@ obj-y := mvsmr.o fpga.o
extra-y := bootscript.img
+quiet_cmd_mkimage = UIMAGE $@
+cmd_mkimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -d $< $@ \
+ $(if $(KBUILD_VERBOSE:1=), >/dev/null)
+
+MKIMAGEFLAGS_bootscript.image := -T script -C none -n mvSMR_Script
+
$(obj)/bootscript.img: $(src)/bootscript
- @mkimage -T script -C none -n mvSMR_Script -d $< $@
+ $(call cmd,mkimage)