diff options
author | Vicente Bergas <vicencb@gmail.com> | 2017-01-11 20:32:05 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-01-13 07:56:44 +0100 |
commit | 2e372b80ad3b5d59e572fcfef317740ac977a232 (patch) | |
tree | f5e7ed5adda54fd9b0b766ef10f5b4008dbc259c /scripts/Makefile | |
parent | dcedcec3751d3307e42b2a6583186b2a39f2076d (diff) | |
download | barebox-2e372b80ad3b5d59e572fcfef317740ac977a232.tar.gz barebox-2e372b80ad3b5d59e572fcfef317740ac977a232.tar.xz |
scripts/omap4_usbboot: use libusb
Signed-off-by: Vicente Bergas <vicencb@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/Makefile')
-rw-r--r-- | scripts/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/Makefile b/scripts/Makefile index a5c16b2f31..7f2527d1c2 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -28,9 +28,11 @@ hostprogs-$(CONFIG_ARCH_MXS_USBLOADER) += mxs-usb-loader HOSTCFLAGS_omap3-usb-loader.o = `pkg-config --cflags libusb-1.0` HOSTLOADLIBES_omap3-usb-loader = `pkg-config --libs libusb-1.0` hostprogs-$(CONFIG_OMAP3_USB_LOADER) += omap3-usb-loader +HOSTCFLAGS_omap4_usbboot.o = `pkg-config --cflags libusb-1.0` +HOSTLOADLIBES_omap4_usbboot = -lpthread `pkg-config --libs libusb-1.0` +hostprogs-$(CONFIG_OMAP4_USBBOOT) += omap4_usbboot subdir-y += mod -subdir-$(CONFIG_OMAP4_USBBOOT) += omap4_usbboot subdir-$(CONFIG_ARCH_IMX) += imx subdir-$(CONFIG_X86) += setupmbr subdir-$(CONFIG_DTC) += dtc |