Makefile 953 B

123456789101112131415161718192021222324252627282930
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= iw
  5. PKG_VERSION:= 3.15
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= bd5c0a92cea799e22bcf431dfe0f91a3ba293ce078e9d95e53d7dbb26df24b8a
  8. PKG_DESCR:= tools for setting up wifi cards via netlink
  9. PKG_SECTION:= net/wifi
  10. PKG_DEPENDS:= libnl libpthread
  11. PKG_BUILDDEP:= libnl
  12. PKG_URL:= http://wireless.kernel.org/en/users/Documentation/iw
  13. PKG_SITES:= https://www.kernel.org/pub/software/network/iw/
  14. PKG_DFLT_IW:= y if ADK_TARGET_WITH_WIFI
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,IW,iw,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. TARGET_CFLAGS+= $(TARGET_CPPFLAGS)
  18. CONFIG_STYLE:= manual
  19. iw-install:
  20. ${INSTALL_DIR} ${IDIR_IW}/usr/sbin
  21. ${INSTALL_BIN} ${WRKINST}/usr/sbin/iw ${IDIR_IW}/usr/sbin
  22. include ${ADK_TOPDIR}/mk/pkg-bottom.mk