mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-01 19:46:51 +00:00
sdk: bundle usbip userspace sources
Bundle the usbip utility sources shipped with the Linux kernel tree in
order to allow the usbip packages from the package feed to build within
the OpenWrt SDK.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit d0e0b7049f
)
This commit is contained in:
parent
e5b7404f25
commit
d93ef3c8c8
@ -83,6 +83,10 @@ $(BIN_DIR)/$(SDK_NAME).tar.xz: clean
|
||||
$(SDK_DIRS) $(KERNEL_FILES) | \
|
||||
$(TAR) -xf - -C $(SDK_BUILD_DIR)
|
||||
|
||||
# Copy usbip sources, this is required for the usbip userspace packages to be buildable by the SDK.
|
||||
$(TAR) -cf - -C $(TOPDIR) $(KDIR_BASE)/tools/usb/usbip/ | \
|
||||
$(TAR) -xf - -C $(SDK_BUILD_DIR)
|
||||
|
||||
(cd $(SDK_BUILD_DIR); find $(STAGING_SUBDIR_HOST)/bin $(STAGING_SUBDIR_HOST)/usr/bin \
|
||||
$(STAGING_SUBDIR_TOOLCHAIN)/bin $(STAGING_SUBDIR_TOOLCHAIN)/*/bin $(STAGING_SUBDIR_TOOLCHAIN)/libexec \
|
||||
-type f | $(XARGS) $(SCRIPT_DIR)/bundle-libraries.sh $(SDK_BUILD_DIR)/$(STAGING_SUBDIR_HOST))
|
||||
|
Loading…
Reference in New Issue
Block a user