Makefile 889 B

12345678910111213141516171819202122232425262728
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= alix-temperature
  5. PKG_VERSION:= 1.0
  6. PKG_RELEASE:= 1
  7. PKG_DESCR:= read alix boards i2c thermal sensor
  8. PKG_SECTION:= utils
  9. PKG_DEPENDS:= i2c-tools
  10. PKG_CFLINE_ALIX_TEMPERATURE:=depends on (ADK_TARGET_SYSTEM_PCENGINES_ALIX2D2 || ADK_TARGET_SYSTEM_PCENGINES_ALIX2D13)
  11. NO_DISTFILES:= 1
  12. include $(TOPDIR)/mk/package.mk
  13. $(eval $(call PKG_template,ALIX_TEMPERATURE,alix-temperature,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIG_STYLE:= manual
  15. BUILD_STYLE:= manual
  16. INSTALL_STYLE:= manual
  17. alix-temperature-install:
  18. $(INSTALL_DIR) $(IDIR_ALIX_TEMPERATURE)/usr/sbin
  19. $(INSTALL_BIN) ./files/alix-temperature $(IDIR_ALIX_TEMPERATURE)/usr/sbin
  20. include ${TOPDIR}/mk/pkg-bottom.mk