summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc')
-rw-r--r--meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
index ccdc4c3e7e..c2e329411a 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
@@ -9,8 +9,11 @@ LIC_FILES_CHKSUM = "file://../COPYING;md5=c54ce9345727175ff66d17b67ff51f58 \
9DEPENDS = "gnutls dbus libnl" 9DEPENDS = "gnutls dbus libnl"
10RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli" 10RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli"
11 11
12# Check if GPLv3 build and select the correct file in configure
13require defconfig.inc
14
12SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-${PV}.tar.gz \ 15SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-${PV}.tar.gz \
13 file://defconfig-gnutls \ 16 file://defconfig-gnutls${@get_defconfig(bb, d)} \
14 file://defaults-sane \ 17 file://defaults-sane \
15 file://wpa-supplicant.sh \ 18 file://wpa-supplicant.sh \
16 file://wpa_supplicant.conf \ 19 file://wpa_supplicant.conf \
@@ -25,7 +28,7 @@ FILES_wpa-supplicant-cli = "${sbindir}/wpa_cli"
25FILES_${PN} += " ${datadir}/dbus-1/system-services/* 28FILES_${PN} += " ${datadir}/dbus-1/system-services/*
26 29
27do_configure () { 30do_configure () {
28 install -m 0755 ${WORKDIR}/defconfig-gnutls .config 31 install -m 0755 ${WORKDIR}/defconfig-gnutls${@get_defconfig(bb, d)} .config
29} 32}
30 33
31export EXTRA_CFLAGS = "${CFLAGS}" 34export EXTRA_CFLAGS = "${CFLAGS}"