|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk |
|
|
include $(INCLUDE_DIR)/kernel.mk |
|
|
include $(INCLUDE_DIR)/kernel.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=usbip |
|
|
PKG_NAME:=usbip |
|
|
PKG_RELEASE:=13 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=14 |
|
|
PKG_LICENSE:=GPL-2.0-only |
|
|
PKG_LICENSE:=GPL-2.0-only |
|
|
|
|
|
|
|
|
# Since kernel 2.6.39.1 userspace tools are inside the kernel tree
|
|
|
# Since kernel 2.6.39.1 userspace tools are inside the kernel tree
|
|
@ -67,6 +67,10 @@ define Package/usbip-server |
|
|
DEPENDS+= usbip +kmod-usbip-server |
|
|
DEPENDS+= usbip +kmod-usbip-server |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Package/usbip-server/conffiles |
|
|
|
|
|
/etc/config/usbipd |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
CONFIGURE_PATH:=. |
|
|
CONFIGURE_PATH:=. |
|
|
MAKE_PATH:=. |
|
|
MAKE_PATH:=. |
|
|
LIBTOOL_PATHS:=. |
|
|
LIBTOOL_PATHS:=. |
|
@ -91,8 +95,10 @@ define Package/usbip-client/install |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/usbip-server/install |
|
|
define Package/usbip-server/install |
|
|
$(INSTALL_DIR) $(1)/usr/sbin |
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d $(1)/etc/config |
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/usbipd $(1)/usr/sbin/ |
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/usbipd $(1)/usr/sbin/ |
|
|
|
|
|
$(INSTALL_BIN) ./files/usbipd.init $(1)/etc/init.d/usbipd |
|
|
|
|
|
$(INSTALL_DATA) ./files/usbipd.conf $(1)/etc/config/usbipd |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,usbip)) |
|
|
$(eval $(call BuildPackage,usbip)) |
|
|