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
This commit is contained in:
parent
39798dc43b
commit
39c5628e5a
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,8 @@ endef
|
||||||
TARGET_CFLAGS += $(FPIC)
|
TARGET_CFLAGS += $(FPIC)
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
|
$(INSTALL_DIR) $(STAGING_DIR)/host/bin
|
||||||
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/libusb-config $(STAGING_DIR)/host/bin
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/libusb-config $(STAGING_DIR)/host/bin
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue