diff options
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.inc | 7 |
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 \ | |||
9 | DEPENDS = "gnutls dbus libnl" | 9 | DEPENDS = "gnutls dbus libnl" |
10 | RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli" | 10 | RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli" |
11 | 11 | ||
12 | # Check if GPLv3 build and select the correct file in configure | ||
13 | require defconfig.inc | ||
14 | |||
12 | SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-${PV}.tar.gz \ | 15 | SRC_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" | |||
25 | FILES_${PN} += " ${datadir}/dbus-1/system-services/* | 28 | FILES_${PN} += " ${datadir}/dbus-1/system-services/* |
26 | 29 | ||
27 | do_configure () { | 30 | do_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 | ||
31 | export EXTRA_CFLAGS = "${CFLAGS}" | 34 | export EXTRA_CFLAGS = "${CFLAGS}" |