diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-06-04 10:12:21 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-05 17:01:58 -0400 |
commit | ba8dd7755ea53bb04bf148fefe6e438cbe34f45b (patch) | |
tree | 0e698ab86703703f3956e3fd4dc7cb2395ad38f9 /scripts | |
parent | b9d1dbd4df71c2c1bcf5a37c0d23c830b673d540 (diff) | |
download | u-boot-imx-ba8dd7755ea53bb04bf148fefe6e438cbe34f45b.zip u-boot-imx-ba8dd7755ea53bb04bf148fefe6e438cbe34f45b.tar.gz u-boot-imx-ba8dd7755ea53bb04bf148fefe6e438cbe34f45b.tar.bz2 |
kbuild: move cmd_mkimage to scripts/Makefile.lib
Because cmd_mkimage is used in various subdirectories,
it seems reasonable to define it in scripts/Makefile.lib.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.lib | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index a04439d..c24c5e8 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -379,3 +379,11 @@ quiet_cmd_xzmisc = XZMISC $@ cmd_xzmisc = (cat $(filter-out FORCE,$^) | \ xz --check=crc32 --lzma2=dict=1MiB) > $@ || \ (rm -f $@ ; false) + +# Additional commands for U-Boot +# +# mkimage +# --------------------------------------------------------------------------- +quiet_cmd_mkimage = MKIMAGE $@ +cmd_mkimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -d $< $@ \ + $(if $(KBUILD_VERBOSE:1=), >/dev/null) |