summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-12-09 18:26:52 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-01-05 11:30:59 +0100
commit27114b30bca48b51131f697d3211e8e9f3d08e1b (patch)
treedad7264b20b4cb47f51034d74b321a8c81793e5c /scripts/Makefile
parent2b50a12c1e6b72fc6b427d989ec18ea6893c620d (diff)
downloadbarebox-27114b30bca48b51131f697d3211e8e9f3d08e1b.tar.gz
barebox-27114b30bca48b51131f697d3211e8e9f3d08e1b.tar.xz
scripts: Add mxs-usb-loader tool
This is directly taken from the rockbox projects sbloader tool, just renamed to mxs-usb-loader to avoid confusion with bareboxes several different image tools. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/Makefile')
-rw-r--r--scripts/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index 442eba5db4..74c22136db 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -21,6 +21,9 @@ hostprogs-$(CONFIG_ARCH_ZYNQ) += zynq_mkimage
hostprogs-$(CONFIG_ARCH_SOCFPGA) += socfpga_mkimage
hostprogs-$(CONFIG_ARCH_MXS) += mxsimage mxsboot
HOSTLOADLIBES_mxsimage = `pkg-config --libs openssl`
+HOSTCFLAGS_mxs-usb-loader.o = `pkg-config --cflags libusb-1.0`
+HOSTLOADLIBES_mxs-usb-loader = `pkg-config --libs libusb-1.0`
+hostprogs-$(CONFIG_ARCH_MXS_USBLOADER) += mxs-usb-loader
subdir-y += mod
subdir-$(CONFIG_OMAP4_USBBOOT) += omap4_usbboot