summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity/wpa-supplicant/defconfig.inc
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei.gherzan@windriver.com>2011-12-29 12:22:06 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-03 12:10:45 +0000
commit8b79aa89470204383b81127cdb3e0670718c30fb (patch)
tree45652c44b73cc3433c73c38b1ace0cef7cb79a0b /meta/recipes-connectivity/wpa-supplicant/defconfig.inc
parent0343ccd64ae03245ae8ab36e7f2da95d4ee28c18 (diff)
downloadopenembedded-core-8b79aa89470204383b81127cdb3e0670718c30fb.tar.gz
openembedded-core-8b79aa89470204383b81127cdb3e0670718c30fb.tar.bz2
openembedded-core-8b79aa89470204383b81127cdb3e0670718c30fb.tar.xz
openembedded-core-8b79aa89470204383b81127cdb3e0670718c30fb.zip
wpa-supplicant - pulls GPLv3 license rpm in a non-GPLv3 build (libgnutls-extra)
Two different defconfigs are chosen, one for "with GPLv3 build" and one for "without". In this way, libgnutls-extra is not pulled in a non-GPLv3 build. [YOCTO #1845] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Diffstat (limited to 'meta/recipes-connectivity/wpa-supplicant/defconfig.inc')
-rw-r--r--meta/recipes-connectivity/wpa-supplicant/defconfig.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/wpa-supplicant/defconfig.inc b/meta/recipes-connectivity/wpa-supplicant/defconfig.inc
new file mode 100644
index 000000000..fdcbb4394
--- /dev/null
+++ b/meta/recipes-connectivity/wpa-supplicant/defconfig.inc
@@ -0,0 +1,4 @@
+def get_defconfig(bb, d):
+ if d.getVar('INCOMPATIBLE_LICENSE', 1) in [ 'GPLv3' ]:
+ return "-nogplv3"
+ return ""