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:
Nuno Goncalves 2017-12-21 17:01:11 +01:00
parent bdddeedf2a
commit c9d4d01a31

View file

@ -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. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -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:=6 PKG_RELEASE:=7
PKG_LICENSE:=GPL-2.0 PKG_LICENSE:=GPL-2.0
# 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
@ -79,11 +79,13 @@ endef
CFLAGS+="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" CFLAGS+="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include"
define Download/usb.ids USB_IDS_REV:=0a6be488b4c1485d30c9efee1cc895af5d4a1383
URL:=http://www.linux-usb.org/ USB_IDS_FILE:=usb.ids.$(USB_IDS_REV)
HASH:=47dc941dca801b89f1529e09f0d338755d8fbb0ce75f526e1dcccc4fbf8fc66c define Download/usb_ids
FILE:=usb.ids FILE:=$(USB_IDS_FILE)
MD5SUM:= URL_FILE:=usb.ids
URL:=@GITHUB/gentoo/hwids/$(USB_IDS_REV)
HASH:=2d0403ffccc0ff7150e32c0bf8e2878816b76ba08d2c3bb1059f33627a3da30f
endef endef
define Package/usbip/install define Package/usbip/install