From d19dff8f15c921b423112224f4469b6cf1d546d4 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 4 Dec 2014 14:43:52 +0100 Subject: scripts: add mxsimage tool This is copied from U-Boot v2014.10 and modified for use with barebox: - Add a main() function to make it a standalone tool - Add option to pass in the prepare stage and bootloader image as options. If the config file contains @PREP@ or @BOOTLOADER@ the string will be replaced with the actual image file passed via the -p and -b options. Signed-off-by: Sascha Hauer --- scripts/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/Makefile') diff --git a/scripts/Makefile b/scripts/Makefile index 5483a64245..f97fd0c094 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -19,6 +19,8 @@ hostprogs-$(CONFIG_ARCH_S5PCxx) += s5p_cksum hostprogs-$(CONFIG_ARCH_DAVINCI) += mkublheader hostprogs-$(CONFIG_ARCH_ZYNQ) += zynq_mkimage hostprogs-$(CONFIG_ARCH_SOCFPGA) += socfpga_mkimage +hostprogs-$(CONFIG_ARCH_MXS) += mxsimage +HOSTLOADLIBES_mxsimage = `pkg-config --libs openssl` subdir-y += mod subdir-$(CONFIG_OMAP4_USBBOOT) += omap4_usbboot -- cgit v1.2.3