ubox: make use of modprobe
ubox now has modprobe support build and install the tool Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38019
This commit is contained in:
		@@ -1,13 +1,13 @@
 | 
			
		||||
include $(TOPDIR)/rules.mk
 | 
			
		||||
 | 
			
		||||
PKG_NAME:=ubox
 | 
			
		||||
PKG_VERSION:=2013-08-16.1
 | 
			
		||||
PKG_VERSION:=2013-09-17
 | 
			
		||||
PKG_RELEASE=$(PKG_SOURCE_VERSION)
 | 
			
		||||
 | 
			
		||||
PKG_SOURCE_PROTO:=git
 | 
			
		||||
PKG_SOURCE_URL:=git://nbd.name/luci2/ubox.git
 | 
			
		||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 | 
			
		||||
PKG_SOURCE_VERSION:=5290ec879aa4d9f4192df00aad4434b0f0afa872
 | 
			
		||||
PKG_SOURCE_VERSION:=cc07b0b7ac66d0e4a05470dd69a28305405cd7dd
 | 
			
		||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
 | 
			
		||||
CMAKE_INSTALL:=1
 | 
			
		||||
 | 
			
		||||
@@ -42,8 +42,11 @@ define Package/ubox/install
 | 
			
		||||
	ln -s /sbin/mount_root $(1)/sbin/switch2jffs
 | 
			
		||||
	ln -s /sbin/mount_root $(1)/sbin/jffs2reset
 | 
			
		||||
	ln -s /sbin/mount_root $(1)/sbin/jffs2mark
 | 
			
		||||
	ln -s /sbin/kmodloader $(1)/usr/sbin/rmmod
 | 
			
		||||
	ln -s /sbin/kmodloader $(1)/usr/sbin/insmod
 | 
			
		||||
	ln -s /sbin/kmodloader $(1)/usr/sbin/lsmod
 | 
			
		||||
	ln -s /sbin/kmodloader $(1)/usr/sbin/modinfo
 | 
			
		||||
	ln -s /sbin/kmodloader $(1)/usr/sbin/modprobe
 | 
			
		||||
endef
 | 
			
		||||
 | 
			
		||||
define Package/block-mount/install
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user