X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f5b571686dca87a93a42f9904d7354ca7bf714b2..01ccdcd3bdea5f4f106594224e37a0d1f33fb43e:/openwrt/target/linux/package/shfs/Makefile?ds=sidebyside diff --git a/openwrt/target/linux/package/shfs/Makefile b/openwrt/target/linux/package/shfs/Makefile index fb345b2c5..721735223 100644 --- a/openwrt/target/linux/package/shfs/Makefile +++ b/openwrt/target/linux/package/shfs/Makefile @@ -31,6 +31,7 @@ $(PKG_BUILD_DIR)/.built: mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \ ARCH="$(LINUX_KARCH)" \ + PATH="$(TARGET_PATH)" \ OFLAGS="$(TARGET_CFLAGS)" \ CC="$(TARGET_CC)" \ LINKER="$(TARGET_CC)" \ @@ -42,7 +43,7 @@ $(PKG_BUILD_DIR)/.built: $(IPKG_KMOD_SHFS): install -m0755 -d $(IDIR_KMOD_SHFS)/lib/modules/$(LINUX_VERSION) - cp -fpR $(PKG_INSTALL_DIR)/lib/modules/$(LINUX_VERSION)/kernel/fs/shfs/shfs.o \ + cp -fpR $(PKG_INSTALL_DIR)/lib/modules/$(LINUX_VERSION)/kernel/fs/shfs/shfs.*o \ $(IDIR_KMOD_SHFS)/lib/modules/$(LINUX_VERSION)/ $(RSTRIP_KMOD) $(IDIR_KMOD_SHFS) $(IPKG_BUILD) $(IDIR_KMOD_SHFS) $(PACKAGE_DIR)