X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/c4b73fa154ce47702ee9b3bbe621d8f079eb7fa5..31ad6d72b32edec4d692a68172eadb56293c4330:/package/shfs/Makefile?ds=sidebyside diff --git a/package/shfs/Makefile b/package/shfs/Makefile index a5ee79b05..fd507217a 100644 --- a/package/shfs/Makefile +++ b/package/shfs/Makefile @@ -34,6 +34,7 @@ endef define KernelPackage/shfs $(call Package/shfs/Default) TITLE+= (kernel module) + DEPENDS:=@LINUX_2_4 FILES:=$(PKG_INSTALL_DIR)/lib/modules/$(LINUX_VERSION)/kernel/fs/shfs/shfs.$(LINUX_KMOD_SUFFIX) SUBMENU:=Filesystems AUTOLOAD:=$(call AutoLoad,40,shfs) @@ -79,9 +80,9 @@ endef define Package/shfs-utils/install $(INSTALL_DIR) $(1)/usr/bin - $(CP) $(PKG_INSTALL_DIR)/usr/bin/shfs{,u}mount $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/shfs{,u}mount $(1)/usr/bin/ $(INSTALL_DIR) $(1)/sbin - $(CP) $(PKG_INSTALL_DIR)/sbin/mount.shfs $(1)/sbin/ + ln -sf /usr/bin/shfsmount $(1)/sbin/mount.shfs endef $(eval $(call KernelPackage,shfs))