Initial Commit
- initial default booting image
This commit is contained in:
38
package/hwdata/Config.in
Normal file
38
package/hwdata/Config.in
Normal file
@@ -0,0 +1,38 @@
|
||||
config BR2_PACKAGE_HWDATA
|
||||
bool "hwdata"
|
||||
help
|
||||
Various hardware identification and configuration data
|
||||
|
||||
- Individual Address Block (IAB) and Organizationally Unique
|
||||
Identifier (OUI) databases, from IEEE Registration Authority
|
||||
- PCI ID database
|
||||
- PNP ID database (from Microsoft)
|
||||
- USB ID database
|
||||
|
||||
https://github.com/vcrhonek/hwdata
|
||||
|
||||
if BR2_PACKAGE_HWDATA
|
||||
|
||||
config BR2_PACKAGE_HWDATA_IAB_OUI_TXT
|
||||
bool "install iab.txt and oui.txt"
|
||||
help
|
||||
Install iab.txt and oui.txt
|
||||
|
||||
config BR2_PACKAGE_HWDATA_PCI_IDS
|
||||
bool "install pci.ids"
|
||||
default y
|
||||
help
|
||||
Install pci.ids
|
||||
|
||||
config BR2_PACKAGE_HWDATA_PNP_IDS
|
||||
bool "install pnp.ids"
|
||||
help
|
||||
Install pnp.ids
|
||||
|
||||
config BR2_PACKAGE_HWDATA_USB_IDS
|
||||
bool "install usb.ids"
|
||||
default y
|
||||
help
|
||||
Install usb.ids
|
||||
|
||||
endif
|
||||
4
package/hwdata/hwdata.hash
Normal file
4
package/hwdata/hwdata.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# Locally calculated
|
||||
sha256 23006accc0f931dd5187d0307a57d0744e2b8feb85e73c37bc0f5229fb31eadd hwdata-0.409.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
sha256 21d0406f93e884a050426ebc21931839a45d56bfcbcbfdda7686d583f36f107f LICENSE
|
||||
42
package/hwdata/hwdata.mk
Normal file
42
package/hwdata/hwdata.mk
Normal file
@@ -0,0 +1,42 @@
|
||||
################################################################################
|
||||
#
|
||||
# hwdata
|
||||
#
|
||||
################################################################################
|
||||
|
||||
HWDATA_VERSION = 0.409
|
||||
HWDATA_SITE = $(call github,vcrhonek,hwdata,v$(HWDATA_VERSION))
|
||||
HWDATA_LICENSE = GPL-2.0+, BSD-3-Clause, XFree86 1.0
|
||||
HWDATA_LICENSE_FILES = COPYING LICENSE
|
||||
HWDATA_INSTALL_STAGING = YES
|
||||
|
||||
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)
|
||||
|
||||
define HWDATA_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure)
|
||||
endef
|
||||
|
||||
define HWDATA_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) hwdata.pc
|
||||
endef
|
||||
|
||||
ifneq ($(strip $(HWDATA_FILES)),)
|
||||
define HWDATA_INSTALL_STAGING_CMDS
|
||||
$(INSTALL) -D -m 0644 $(@D)/hwdata.pc \
|
||||
$(STAGING_DIR)/usr/lib/pkgconfig/hwdata.pc
|
||||
$(INSTALL) -d -m 755 $(STAGING_DIR)/usr/share/hwdata
|
||||
$(INSTALL) -m 644 -t $(STAGING_DIR)/usr/share/hwdata \
|
||||
$(addprefix $(@D)/,$(HWDATA_FILES))
|
||||
endef
|
||||
define HWDATA_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -d -m 755 $(TARGET_DIR)/usr/share/hwdata
|
||||
$(INSTALL) -m 644 -t $(TARGET_DIR)/usr/share/hwdata \
|
||||
$(addprefix $(@D)/,$(HWDATA_FILES))
|
||||
endef
|
||||
endif
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user