Use CONFLICT_DISTRO_FEATURES to not build if des is not supported.

Signed-off-by: Joe Slater <joe.sla...@windriver.com>
---
 meta-oe/recipes-connectivity/hostapd/hostapd_2.6.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-connectivity/hostapd/hostapd_2.6.bb 
b/meta-oe/recipes-connectivity/hostapd/hostapd_2.6.bb
index c3a1ead..54c9e79 100644
--- a/meta-oe/recipes-connectivity/hostapd/hostapd_2.6.bb
+++ b/meta-oe/recipes-connectivity/hostapd/hostapd_2.6.bb
@@ -5,7 +5,10 @@ LIC_FILES_CHKSUM = 
"file://${B}/README;md5=8aa4e8c78b59b12016c4cb2d0a8db350"
 DEPENDS = "libnl openssl"
 SUMMARY = "User space daemon for extended IEEE 802.11 management"
 
-inherit update-rc.d systemd
+inherit update-rc.d systemd distro_features_check
+
+CONFLICT_DISTRO_FEATURES = "openssl-no-weak-ciphers"
+
 INITSCRIPT_NAME = "hostapd"
 
 SYSTEMD_SERVICE_${PN} = "hostapd.service"
-- 
2.7.4

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to