2007-01-14 04:38:02 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# hwdata
|
|
|
|
#
|
|
|
|
#############################################################
|
2010-09-26 09:14:05 +02:00
|
|
|
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/
|
2007-01-14 04:38:02 +01:00
|
|
|
|
2010-09-26 09:14:05 +02:00
|
|
|
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
|
2007-01-14 04:38:02 +01:00
|
|
|
|
2010-09-26 09:14:05 +02:00
|
|
|
define HWDATA_UNINSTALL_TARGET_CMDS
|
2007-01-14 04:38:02 +01:00
|
|
|
rm -rf $(TARGET_DIR)/usr/share/hwdata
|
|
|
|
rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
|
2010-09-26 09:14:05 +02:00
|
|
|
endef
|
2007-01-14 04:38:02 +01:00
|
|
|
|
2010-09-26 09:14:05 +02:00
|
|
|
$(eval $(call GENTARGETS,package,hwdata))
|