aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-04 07:20:02 +0000
committerJohn Crispin <john@openwrt.org>2014-06-04 07:20:02 +0000
commit39c5628e5ac7c4c22147ad0762ed4ff002615b77 (patch)
tree3a7439b46b20a3ab9f072af7f987a98ffcef5daa
parent39798dc43b55016312c9f88199915419861a1d2d (diff)
downloadupstream-39c5628e5ac7c4c22147ad0762ed4ff002615b77.tar.gz
upstream-39c5628e5ac7c4c22147ad0762ed4ff002615b77.tar.bz2
upstream-39c5628e5ac7c4c22147ad0762ed4ff002615b77.zip
libusb-compat: create directory for libusb-config
Fix a build regression caused by r39975 by making sure $(STAGING_DIR)/host directory exists before trying to copy files to it. Cc: Florian Fainelli <florian@openwrt.org> Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 40998
-rw-r--r--package/libs/libusb-compat/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libs/libusb-compat/Makefile b/package/libs/libusb-compat/Makefile
index 3b770837da..a67d0c0f21 100644
--- a/package/libs/libusb-compat/Makefile
+++ b/package/libs/libusb-compat/Makefile
@@ -38,6 +38,8 @@ endef
TARGET_CFLAGS += $(FPIC)
define Build/InstallDev
+ $(INSTALL_DIR) $(STAGING_DIR)/host/bin
+
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/libusb-config $(STAGING_DIR)/host/bin
endef