1
0

Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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_DEPENDS:= @add dependendant package names@
  11. PKG_URL:= http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html
  12. PKG_SITES:= http://www.kernel.org/pub/linux/utils/kernel/cpufreq/
  13. # if downloaded package is not ending with .tar.gz use following
  14. #DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,CPUFREQUTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. # use following to add ./configure options
  18. #CONFIGURE_ARGS+= --disable-foo
  19. # overwrite any configure variables
  20. #CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
  21. BUILD_STYLE:= auto
  22. INSTALL_STYLE:= auto
  23. MAKE_FLAGS+= V=true CROSS=${TARGET_CROSS} LIBTOOL_OPT="--tag CC"
  24. #FIXME: libtool does crap when installing stuff (appends i to the .la file and wonders afterwards why it doesn't exist)
  25. # please install all files and directories to the package dir
  26. post-install:
  27. $(INSTALL_DIR) $(IDIR_CPUFREQUTILS)/usr/bin
  28. $(INSTALL_BIN) $(WRKINST)/usr/bin/cpufrequtils $(IDIR_CPUFREQUTILS)/usr/bin
  29. include ${TOPDIR}/mk/pkg-bottom.mk