summaryrefslogtreecommitdiff
path: root/board/cray
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-06-04 10:12:21 +0900
committerTom Rini <trini@ti.com>2014-06-05 17:01:58 -0400
commitba8dd7755ea53bb04bf148fefe6e438cbe34f45b (patch)
tree0e698ab86703703f3956e3fd4dc7cb2395ad38f9 /board/cray
parentb9d1dbd4df71c2c1bcf5a37c0d23c830b673d540 (diff)
downloadu-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 'board/cray')
-rw-r--r--board/cray/L1/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/board/cray/L1/Makefile b/board/cray/L1/Makefile
index 5540298..716a5a3 100644
--- a/board/cray/L1/Makefile
+++ b/board/cray/L1/Makefile
@@ -15,13 +15,9 @@ quiet_cmd_awk = AWK $@
$(obj)/bootscript.c: $(obj)/bootscript.image $(src)/x2c.awk
$(call cmd,awk)
-quiet_cmd_mkimage = MKIMAGE $@
-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
$(call cmd,mkimage)
-clean-files := bootscript.c bootscript.image \ No newline at end of file
+clean-files := bootscript.c bootscript.image