usbip: fix usb.ids download (closes #4994)
Used the same solution as in utils/usbutils/Makefile Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
This commit is contained in:
parent
bdddeedf2a
commit
c9d4d01a31
1 changed files with 9 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# Copyright (C) 2010-2015 OpenWrt.org
|
||||
# Copyright (C) 2010-2017 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=usbip
|
||||
PKG_RELEASE:=6
|
||||
PKG_RELEASE:=7
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
|
||||
# Since kernel 2.6.39.1 userspace tools are inside the kernel tree
|
||||
|
@ -79,11 +79,13 @@ endef
|
|||
|
||||
CFLAGS+="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include"
|
||||
|
||||
define Download/usb.ids
|
||||
URL:=http://www.linux-usb.org/
|
||||
HASH:=47dc941dca801b89f1529e09f0d338755d8fbb0ce75f526e1dcccc4fbf8fc66c
|
||||
FILE:=usb.ids
|
||||
MD5SUM:=
|
||||
USB_IDS_REV:=0a6be488b4c1485d30c9efee1cc895af5d4a1383
|
||||
USB_IDS_FILE:=usb.ids.$(USB_IDS_REV)
|
||||
define Download/usb_ids
|
||||
FILE:=$(USB_IDS_FILE)
|
||||
URL_FILE:=usb.ids
|
||||
URL:=@GITHUB/gentoo/hwids/$(USB_IDS_REV)
|
||||
HASH:=2d0403ffccc0ff7150e32c0bf8e2878816b76ba08d2c3bb1059f33627a3da30f
|
||||
endef
|
||||
|
||||
define Package/usbip/install
|
||||
|
|
Loading…
Reference in a new issue