2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-01-14 04:38:02 +01:00
|
|
|
#
|
|
|
|
# hwdata
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2018-01-26 11:21:57 +01:00
|
|
|
HWDATA_VERSION = v0.308
|
|
|
|
HWDATA_SITE = $(call github,vcrhonek,hwdata,$(HWDATA_VERSION))
|
|
|
|
HWDATA_LICENSE = GPL-2.0+, BSD-3-Clause, XFree86 1.0
|
2014-05-24 15:49:43 +02:00
|
|
|
HWDATA_LICENSE_FILES = COPYING LICENSE
|
2007-01-14 04:38:02 +01:00
|
|
|
|
2018-01-26 11:21:57 +01:00
|
|
|
HWDATA_FILES = \
|
|
|
|
$(if $(BR2_PACKAGE_HWDATA_IAB_OUI_TXT),iab.txt oui.txt) \
|
|
|
|
$(if $(BR2_PACKAGE_HWDATA_PCI_IDS),pci.ids) \
|
|
|
|
$(if $(BR2_PACKAGE_HWDATA_PNP_IDS),pnp.ids) \
|
|
|
|
$(if $(BR2_PACKAGE_HWDATA_USB_IDS),usb.ids)
|
|
|
|
|
|
|
|
ifneq ($(strip $(HWDATA_FILES)),)
|
2010-09-26 09:14:05 +02:00
|
|
|
define HWDATA_INSTALL_TARGET_CMDS
|
2018-01-26 11:21:57 +01:00
|
|
|
$(INSTALL) -d -m 755 $(TARGET_DIR)/usr/share/hwdata
|
|
|
|
$(INSTALL) -m 644 -t $(TARGET_DIR)/usr/share/hwdata \
|
|
|
|
$(addprefix $(@D)/,$(HWDATA_FILES))
|
2010-09-26 09:14:05 +02:00
|
|
|
endef
|
2018-01-26 11:21:57 +01:00
|
|
|
endif
|
2007-01-14 04:38:02 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|