Makefile 935 B

12345678910111213141516171819202122232425262728293031
  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:= 17
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= bc36d28b12dcb2b664a35411560c5610
  8. PKG_DESCR:= kernel module loading library
  9. PKG_SECTION:= libs/misc
  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. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,KMOD,kmod,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  15. CONFIG_STYLE:= minimal
  16. CONFIGURE_ARGS+= --host=${GNU_TARGET_NAME}
  17. kmod-install:
  18. $(INSTALL_DIR) $(IDIR_KMOD)/usr/bin
  19. $(INSTALL_DIR) $(IDIR_KMOD)/usr/lib
  20. $(INSTALL_BIN) $(WRKINST)/usr/bin/kmod \
  21. $(IDIR_KMOD)/usr/bin
  22. $(CP) $(WRKINST)/usr/lib/libkmod*.so* \
  23. $(IDIR_KMOD)/usr/lib
  24. include ${TOPDIR}/mk/pkg-bottom.mk