madwifi: clean up scanning code, add support for changing scan lists
[openwrt.git] / package / shfs / Makefile
index a5ee79b..fd50721 100644 (file)
@@ -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))
This page took 0.031833 seconds and 4 git commands to generate.