aboutsummaryrefslogtreecommitdiffstats
path: root/meta-eca/recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend
blob: 22e8311f63ba35f330a98b0c5b04a0ecea5f9281 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"

# Remove unnecessary stuff from depends
DEPENDS := "${@oe_filter_out('wpa-supplicant-cli', '${DEPENDS}', d)}"
DEPENDS := "${@oe_filter_out('wpa-supplicant-passphrase', '${DEPENDS}', d)}"
DEPENDS := "${@oe_filter_out('wpa-supplicant-doc', '${DEPENDS}', d)}"

do_configure_append () {
	# Activate config options needed by connman and tethering
	echo "CONFIG_WPS=y" >> wpa_supplicant/.config
	echo "CONFIG_AP=y" >> wpa_supplicant/.config
	echo "CONFIG_CTRL_IFACE_DBUS_NEW=y" >> wpa_supplicant/.config
	echo "CONFIG_BGSCAN_SIMPLE=y" >> wpa_supplicant/.config
	echo "CONFIG_AUTOSCAN_EXPONENTIAL=y" >> wpa_supplicant/.config
}