X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/99f380afb6bb266ca0ca97c2ee94802acfbe0549..edb5e48d01c85609e5aaa49d58c6fc6960bb1ba6:/target/linux/package/shfs/Makefile?ds=inline diff --git a/target/linux/package/shfs/Makefile b/target/linux/package/shfs/Makefile index af1d1f984..721735223 100644 --- a/target/linux/package/shfs/Makefile +++ b/target/linux/package/shfs/Makefile @@ -1,6 +1,7 @@ # $Id$ include $(TOPDIR)/rules.mk +include ../../rules.mk PKG_NAME := shfs PKG_VERSION := 0.35 @@ -30,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)" \ @@ -41,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)