Browse Source

usbip: fix usb.ids download (closes #4994)

Used the same solution as in utils/usbutils/Makefile

Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
lilik-openwrt-22.03
Nuno Goncalves 7 years ago
parent
commit
c9d4d01a31
1 changed files with 9 additions and 7 deletions
  1. +9
    -7
      net/usbip/Makefile

+ 9
- 7
net/usbip/Makefile 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
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 endef
define Package/usbip/install define Package/usbip/install


Loading…
Cancel
Save