diff options
author | Jan Luebbe <jlu@pengutronix.de> | 2012-01-25 12:15:53 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-01-25 12:32:45 +0100 |
commit | 139afcac830e7c26401a47faf8b2d20400eedcb0 (patch) | |
tree | b0a8f2c2c3bf0d63e226794c9d8c455c35217e0d | |
parent | a87ab422e2603dd6a620d97c5fc807c423e179b3 (diff) | |
download | ptxdist-139afcac830e7c26401a47faf8b2d20400eedcb0.tar.gz ptxdist-139afcac830e7c26401a47faf8b2d20400eedcb0.tar.xz |
iw: new package
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/iw.in | 10 | ||||
-rw-r--r-- | rules/iw.make | 64 |
2 files changed, 74 insertions, 0 deletions
diff --git a/rules/iw.in b/rules/iw.in new file mode 100644 index 000000000..2e3dbfbb2 --- /dev/null +++ b/rules/iw.in @@ -0,0 +1,10 @@ +## SECTION=networking + +config IW + tristate + select LIBNL + prompt "iw (wireless tools replacement)" + help + iw is a new nl80211 based CLI configuration utility for wireless devices. + It supports almost all new drivers that have been added to the kernel + recently. diff --git a/rules/iw.make b/rules/iw.make new file mode 100644 index 000000000..602070264 --- /dev/null +++ b/rules/iw.make @@ -0,0 +1,64 @@ +# -*-makefile-*- +# +# Copyright (C) 2012 by Jan Luebbe <jlu@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_IW) += iw + +# +# Paths and names +# +IW_VERSION := 3.3 +IW_MD5 := 146ad14cdeb39fb88b21efdbb28787d1 +IW := iw-$(IW_VERSION) +IW_SUFFIX := tar.bz2 +IW_URL := http://linuxwireless.org/download/iw/$(IW).$(IW_SUFFIX) +IW_SOURCE := $(SRCDIR)/$(IW).$(IW_SUFFIX) +IW_DIR := $(BUILDDIR)/$(IW) +IW_LICENSE := unknown + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +IW_CONF_TOOL := NO + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +# use .nogit as the makefile tries to figure out a tag if it runs inside a git +# repo +IW_MAKE_ENV := \ + $(CROSS_ENV) \ + GIT_DIR="$(IW_DIR)/.nogit" \ + CFLAGS="$(CROSS_CPPFLAGS) -O2 -g" + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/iw.targetinstall: + @$(call targetinfo) + + @$(call install_init, iw) + @$(call install_fixup, iw,PRIORITY,optional) + @$(call install_fixup, iw,SECTION,base) + @$(call install_fixup, iw,AUTHOR,"Jan Luebbe <jlu@pengutronix.de>") + @$(call install_fixup, iw,DESCRIPTION,missing) + + @$(call install_copy, iw, 0, 0, 0755, -, /usr/sbin/iw) + + @$(call install_finish, iw) + + @$(call touch) + +# vim: syntax=make |