Makefile 994 B

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:= kmod
  5. PKG_VERSION:= 15
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= d03372179ed2cfa0c52b6672cf438901
  8. PKG_DESCR:= kernel module loading library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://profusion.mobi/index.php
  11. PKG_SITES:= https://www.kernel.org/pub/linux/utils/kernel/kmod/
  12. PKG_OPTS:= dev
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,KMOD,kmod,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  16. CONFIG_STYLE:= minimal
  17. CONFIGURE_ARGS+= --host=${REAL_GNU_TARGET_NAME}
  18. kmod-install:
  19. $(INSTALL_DIR) $(IDIR_KMOD)/usr/bin
  20. $(INSTALL_DIR) $(IDIR_KMOD)/usr/lib
  21. $(INSTALL_BIN) $(WRKINST)/usr/bin/kmod \
  22. $(IDIR_KMOD)/usr/bin
  23. $(CP) $(WRKINST)/usr/lib/libkmod*.so* \
  24. $(IDIR_KMOD)/usr/lib
  25. include ${TOPDIR}/mk/pkg-bottom.mk