e1502ebc0c
Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 lines
678 B
Makefile
22 lines
678 B
Makefile
#############################################################
|
|
#
|
|
# hwdata
|
|
#
|
|
#############################################################
|
|
HWDATA_VERSION = 0.230
|
|
HWDATA_SOURCE = hwdata_$(HWDATA_VERSION).orig.tar.gz
|
|
HWDATA_PATCH = hwdata_$(HWDATA_VERSION)-1.diff.gz
|
|
HWDATA_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/h/hwdata/
|
|
|
|
define HWDATA_INSTALL_TARGET_CMDS
|
|
install -D -m 644 $(@D)/pci.ids $(TARGET_DIR)/usr/share/hwdata/pci.ids
|
|
install -D -m 644 $(@D)/usb.ids $(TARGET_DIR)/usr/share/hwdata/usb.ids
|
|
endef
|
|
|
|
define HWDATA_UNINSTALL_TARGET_CMDS
|
|
rm -rf $(TARGET_DIR)/usr/share/hwdata
|
|
rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
|
|
endef
|
|
|
|
$(eval $(generic-package))
|