summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-09-26 08:01:21 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-09-27 14:12:01 +0200
commitac6d9243013ac5cb08d87e0715c5234cca248401 (patch)
tree990c99f0b8a1cd270a48fdd7ec65f708a60b0f1b /scripts
parentb5f99965b6c9e76f0e12737d2b3424281e28ca5a (diff)
downloadbarebox-ac6d9243013ac5cb08d87e0715c5234cca248401.tar.gz
barebox-ac6d9243013ac5cb08d87e0715c5234cca248401.tar.xz
scripts: Move omap4_usbboot to its own directory
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/.gitignore1
-rw-r--r--scripts/Makefile5
-rw-r--r--scripts/omap4_usbboot/.gitignore1
-rw-r--r--scripts/omap4_usbboot/Makefile5
-rw-r--r--scripts/omap4_usbboot/omap4_usbboot.c (renamed from scripts/omap4_usbboot.c)0
-rw-r--r--scripts/omap4_usbboot/usb.h (renamed from scripts/usb.h)0
-rw-r--r--scripts/omap4_usbboot/usb_linux.c (renamed from scripts/usb_linux.c)0
7 files changed, 7 insertions, 5 deletions
diff --git a/scripts/.gitignore b/scripts/.gitignore
index 6518c0f076..53f46d913f 100644
--- a/scripts/.gitignore
+++ b/scripts/.gitignore
@@ -8,5 +8,4 @@ mk-am35xx-spi-image
mkimage
mkublheader
omap_signGP
-omap4_usbboot
zynq_mkimage
diff --git a/scripts/Makefile b/scripts/Makefile
index 7d98a2d2f8..71d30be20a 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -17,16 +17,13 @@ hostprogs-$(CONFIG_ARCH_DAVINCI) += mkublheader
hostprogs-$(CONFIG_ARCH_ZYNQ) += zynq_mkimage
subdir-y += mod
+subdir-$(CONFIG_OMAP4_USBBOOT) += omap4_usbboot
subdir-$(CONFIG_ARCH_IMX) += imx
subdir-$(CONFIG_X86) += setupmbr
subdir-$(CONFIG_DTC) += dtc
targetprogs-$(CONFIG_BAREBOXENV_TARGET) += bareboxenv-target
-HOSTLOADLIBES_omap4_usbboot = -lpthread
-omap4_usbboot-objs := usb_linux.o omap4_usbboot.o
-hostprogs-$(CONFIG_OMAP4_USBBOOT)+= omap4_usbboot
-
# Let clean descend into subdirs
subdir- += basic kconfig setupmbr
diff --git a/scripts/omap4_usbboot/.gitignore b/scripts/omap4_usbboot/.gitignore
new file mode 100644
index 0000000000..1975a2172f
--- /dev/null
+++ b/scripts/omap4_usbboot/.gitignore
@@ -0,0 +1 @@
+omap4_usbboot
diff --git a/scripts/omap4_usbboot/Makefile b/scripts/omap4_usbboot/Makefile
new file mode 100644
index 0000000000..af6444b0e2
--- /dev/null
+++ b/scripts/omap4_usbboot/Makefile
@@ -0,0 +1,5 @@
+HOSTLOADLIBES_omap4_usbboot = -lpthread
+omap4_usbboot-objs := usb_linux.o omap4_usbboot.o
+hostprogs-$(CONFIG_OMAP4_USBBOOT) += omap4_usbboot
+
+always := $(hostprogs-y)
diff --git a/scripts/omap4_usbboot.c b/scripts/omap4_usbboot/omap4_usbboot.c
index e52108614b..e52108614b 100644
--- a/scripts/omap4_usbboot.c
+++ b/scripts/omap4_usbboot/omap4_usbboot.c
diff --git a/scripts/usb.h b/scripts/omap4_usbboot/usb.h
index d50aa6aa6f..d50aa6aa6f 100644
--- a/scripts/usb.h
+++ b/scripts/omap4_usbboot/usb.h
diff --git a/scripts/usb_linux.c b/scripts/omap4_usbboot/usb_linux.c
index 9a6e0b84d0..9a6e0b84d0 100644
--- a/scripts/usb_linux.c
+++ b/scripts/omap4_usbboot/usb_linux.c