From 8b79aa89470204383b81127cdb3e0670718c30fb Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Thu, 29 Dec 2011 12:22:06 +0200 Subject: 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 --- meta/recipes-connectivity/wpa-supplicant/defconfig.inc | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 meta/recipes-connectivity/wpa-supplicant/defconfig.inc (limited to 'meta/recipes-connectivity/wpa-supplicant/defconfig.inc') 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 "" -- cgit v1.2.3