hwdata.mk 693 B

123456789101112131415161718192021
  1. #############################################################
  2. #
  3. # hwdata
  4. #
  5. #############################################################
  6. HWDATA_VERSION = 0.230
  7. HWDATA_SOURCE = hwdata_$(HWDATA_VERSION).orig.tar.gz
  8. HWDATA_PATCH = hwdata_$(HWDATA_VERSION)-1.diff.gz
  9. HWDATA_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/h/hwdata/
  10. define HWDATA_INSTALL_TARGET_CMDS
  11. install -D -m 644 $(@D)/pci.ids $(TARGET_DIR)/usr/share/hwdata/pci.ids
  12. install -D -m 644 $(@D)/usb.ids $(TARGET_DIR)/usr/share/hwdata/usb.ids
  13. endef
  14. define HWDATA_UNINSTALL_TARGET_CMDS
  15. rm -rf $(TARGET_DIR)/usr/share/hwdata
  16. rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
  17. endef
  18. $(eval $(call GENTARGETS,package,hwdata))