summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-12-04 14:43:52 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-01-05 11:30:59 +0100
commitd19dff8f15c921b423112224f4469b6cf1d546d4 (patch)
tree982c0abfaebab5f983fc10573e624b1837cf7e04 /scripts/Makefile
parent447d299fd73d23b9296145e7a36135e4bf1cdc02 (diff)
downloadbarebox-d19dff8f15c921b423112224f4469b6cf1d546d4.tar.gz
barebox-d19dff8f15c921b423112224f4469b6cf1d546d4.tar.xz
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 <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/Makefile')
-rw-r--r--scripts/Makefile2
1 files changed, 2 insertions, 0 deletions
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