kumquat-buildroot/package/hwdata/hwdata.mk
Martin Banky 231449e1d5 hwdata: convert to gentargets and bump to 0.230
[Peter: get rid of unused vars, use install -D]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-26 22:35:05 +02:00

22 lines
693 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 $(call GENTARGETS,package,hwdata))