summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile
diff options
context:
space:
mode:
authorVicente <vicencb@gmail.com>2012-10-09 00:55:20 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-11-16 15:32:31 +0100
commit6b4dc4d4f128bd22df4d022ad37285ce4858e1e8 (patch)
treedd66fc53750274c211dd78994732701de9ad7608 /scripts/Makefile
parent7b8a200154be38bd54ce4fc291a5a7904e5d33f2 (diff)
downloadbarebox-6b4dc4d4f128bd22df4d022ad37285ce4858e1e8.tar.gz
barebox-6b4dc4d4f128bd22df4d022ad37285ce4858e1e8.tar.xz
omap4: add support for booting cpu from usb
Signed-off-by: Vicente <vicencb@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/Makefile')
-rw-r--r--scripts/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index 55ccdac539..08b325cb5d 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -13,6 +13,10 @@ hostprogs-$(CONFIG_ARCH_OMAP) += omap_signGP mk-am35xx-spi-image
hostprogs-$(CONFIG_ARCH_S5PCxx) += s5p_cksum
hostprogs-$(CONFIG_ARCH_DAVINCI) += mkublheader
+HOSTLOADLIBES_omap4_usbboot = -lpthread
+omap4_usbboot-objs := usb_linux.o omap4_usbboot.o
+hostprogs-$(CONFIG_OMAP4_USBBOOT)+= omap4_usbboot
+
always := $(hostprogs-y) $(hostprogs-m)
subdir-y += mod