You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2017 Philip Prindeville
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=acpica-unix
  9. PKG_VERSION:=20170629
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://acpica.org/sites/$(subst -unix,,$(PKG_NAME))/files/$(PKG_SOURCE_URL)
  13. PKG_HASH:=5f05d8f63d60888d7450f090ce270ef7ed026de9293ce9f6d04fe99cbbb77635
  14. PKG_MAINTAINER:=Philip Prindeville <philipp@redfish-solutions.com>
  15. PKG_LICENSE:=GPL-2.0
  16. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
  17. PKG_FORTIFY_SOURCE:=0
  18. PKG_BUILD_PARALLEL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/acpica-unix
  21. SECTION:=utils
  22. CATEGORY:=Utilities
  23. DEPENDS:=
  24. TITLE:=ACPI utilities for UNIX
  25. URL:=https://acpica.org/
  26. endef
  27. define Package/acpica-unix/description
  28. Open Source utilities for ACPI including the ACPICA Machine Language
  29. (AML) interpreter, a simulator, test suites, and a compiler to
  30. translate ACPI Source Language (ASL) into AML.
  31. endef
  32. define Build/Configure
  33. endef
  34. MAKE_VARS += HOST=_LINUX
  35. MAKE_PATH:=generate/unix
  36. define Package/acpica-unix/install
  37. $(INSTALL_DIR) $(1)/usr/bin
  38. $(INSTALL_BIN) $(PKG_BUILD_DIR)/generate/unix/acpidump/obj/acpidump $(1)/usr/bin/
  39. endef
  40. $(eval $(call BuildPackage,acpica-unix))