fix preselection of instructions set
[openadk.git] / package / iw / Makefile
blobf2fe9cc442c1bdcf32ee95b854880df46d4f46b5
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= iw
7 PKG_VERSION:= 4.9
8 PKG_RELEASE:= 1
9 PKG_HASH:= 324cc805fad52cba2c16b9ab569906889fb645cc962aac4cfda1db85d2de97ce
10 PKG_DESCR:= tools for setting up wifi cards
11 PKG_SECTION:= net/wifi
12 PKG_DEPENDS:= libnl
13 PKG_BUILDDEP:= libnl
14 PKG_NEEDS:= threads
15 PKG_URL:= http://wireless.kernel.org/en/users/Documentation/iw
16 PKG_SITES:= https://www.kernel.org/pub/software/network/iw/
18 PKG_DFLT_IW:= y if ADK_TARGET_WITH_WIFI
20 include ${ADK_TOPDIR}/mk/package.mk
22 $(eval $(call PKG_template,IW,iw,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 TARGET_CFLAGS+= $(TARGET_CPPFLAGS)
25 CONFIG_STYLE:= manual
27 iw-install:
28 ${INSTALL_DIR} ${IDIR_IW}/usr/sbin
29 ${INSTALL_BIN} ${WRKINST}/usr/sbin/iw ${IDIR_IW}/usr/sbin
31 include ${ADK_TOPDIR}/mk/pkg-bottom.mk