From 72fbc0a0c72bfba5a39ab38c52339aa3b919d97b Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 4 Jun 2014 07:20:02 +0000 Subject: [PATCH] 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 Signed-off-by: Tim Harvey SVN-Revision: 40998 --- package/libs/libusb-compat/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2