Browse Source

Merge pull request #14609 from httpstorm/hwdata-0.343.fix-macos

hwdata 0.343: fix build error on macOS
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
c8e2d56a5a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 6 deletions
  1. +3
    -6
      utils/hwdata/Makefile

+ 3
- 6
utils/hwdata/Makefile View File

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=hwdata PKG_NAME:=hwdata
PKG_VERSION:=0.343 PKG_VERSION:=0.343
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/vcrhonek/hwdata/tar.gz/v$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/vcrhonek/hwdata/tar.gz/v$(PKG_VERSION)?
@ -17,9 +17,6 @@ PKG_MAINTAINER:=
PKG_LICENSE:=GPL-2.0-or-later XFree86-1.0 PKG_LICENSE:=GPL-2.0-or-later XFree86-1.0
PKG_LICENSE_FILES:=LICENSE PKG_LICENSE_FILES:=LICENSE
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/pciids define Package/pciids
@ -38,12 +35,12 @@ endef
define Package/pciids/install define Package/pciids/install
$(INSTALL_DIR) $(1)/usr/share/hwdata $(INSTALL_DIR) $(1)/usr/share/hwdata
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/hwdata/pci.ids $(1)/usr/share/hwdata
$(INSTALL_DATA) $(PKG_BUILD_DIR)/pci.ids $(1)/usr/share/hwdata
endef endef
define Package/usbids/install define Package/usbids/install
$(INSTALL_DIR) $(1)/usr/share/hwdata $(INSTALL_DIR) $(1)/usr/share/hwdata
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/hwdata/usb.ids $(1)/usr/share/hwdata
$(INSTALL_DATA) $(PKG_BUILD_DIR)/usb.ids $(1)/usr/share/hwdata
endef endef
$(eval $(call BuildPackage,pciids)) $(eval $(call BuildPackage,pciids))


Loading…
Cancel
Save