diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-03-22 10:33:39 +0100 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-03-22 10:33:39 +0100 |
commit | 2c80ab3def3dae764b5aabd11ee72f4bbadcfe3a (patch) | |
tree | 47966f3d5e7178a39cf561a48ec3670b6d2688f4 /testing/scripts/recipes/012_wpa_supplicant.mk | |
parent | 6e58f0a34fac464f1ef1d53a870ecc29818bceb7 (diff) | |
download | strongswan-2c80ab3def3dae764b5aabd11ee72f4bbadcfe3a.tar.bz2 strongswan-2c80ab3def3dae764b5aabd11ee72f4bbadcfe3a.tar.xz |
Build TNC-enabled wpa_supplicant
Diffstat (limited to 'testing/scripts/recipes/012_wpa_supplicant.mk')
-rw-r--r-- | testing/scripts/recipes/012_wpa_supplicant.mk | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/scripts/recipes/012_wpa_supplicant.mk b/testing/scripts/recipes/012_wpa_supplicant.mk new file mode 100644 index 000000000..14b64ea78 --- /dev/null +++ b/testing/scripts/recipes/012_wpa_supplicant.mk @@ -0,0 +1,39 @@ +#!/usr/bin/make + +PV = 2.0 +PKG = wpa_supplicant-$(PV) +TAR = $(PKG).tar.gz +SRC = http://hostap.epitest.fi/releases/$(TAR) + +NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN) + +CONFIG_OPTS = + +PATCHES = \ + wpa_supplicant-eap-tnc + +SUBDIR = wpa_supplicant + +all: install + +$(TAR): + wget $(SRC) + +.$(PKG)-unpacked: $(TAR) + tar xfz $(TAR) + @touch $@ + +.$(PKG)-patches-applied: .$(PKG)-unpacked + cd $(PKG) && cat $(addprefix ../patches/, $(PATCHES)) | patch -p1 + @touch $@ + +.$(PKG)-configured: .$(PKG)-patches-applied + cp $(PKG)/$(SUBDIR)/defconfig $(PKG)/$(SUBDIR)/.config + @touch $@ + +.$(PKG)-built: .$(PKG)-configured + cd $(PKG)/$(SUBDIR) && make -j $(NUM_CPUS) + @touch $@ + +install: .$(PKG)-built + cd $(PKG)/$(SUBDIR) && make install |