Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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:= cpufrequtils
  5. PKG_VERSION:= 007
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 40271a1e1eadce31457e9891cdb071f1
  8. PKG_DESCR:= Userspace utilities for the Linux kernel cpufreq subsystem
  9. PKG_SECTION:= utils
  10. PKG_URL:= http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html
  11. PKG_SITES:= http://www.kernel.org/pub/linux/utils/kernel/cpufreq/
  12. include $(TOPDIR)/mk/package.mk
  13. $(eval $(call PKG_template,CPUFREQUTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. BUILD_STYLE:= auto
  15. INSTALL_STYLE:= auto
  16. MAKE_FLAGS+= CROSS=${TARGET_CROSS}
  17. post-install:
  18. $(INSTALL_DIR) $(IDIR_CPUFREQUTILS)/usr/lib
  19. $(CP) $(WRKINST)/usr/lib/libcpufreq.so* \
  20. $(IDIR_CPUFREQUTILS)/usr/lib
  21. $(INSTALL_DIR) $(IDIR_CPUFREQUTILS)/usr/bin
  22. $(INSTALL_BIN) $(WRKINST)/usr/bin/cpufreq-set \
  23. $(IDIR_CPUFREQUTILS)/usr/bin
  24. $(INSTALL_BIN) $(WRKINST)/usr/bin/cpufreq-info \
  25. $(IDIR_CPUFREQUTILS)/usr/bin
  26. include ${TOPDIR}/mk/pkg-bottom.mk