summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/pam
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/pam')
-rw-r--r--meta/recipes-extended/pam/libpam_1.3.0.bb7
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/recipes-extended/pam/libpam_1.3.0.bb b/meta/recipes-extended/pam/libpam_1.3.0.bb
index 8f7753d001..92ab72a42f 100644
--- a/meta/recipes-extended/pam/libpam_1.3.0.bb
+++ b/meta/recipes-extended/pam/libpam_1.3.0.bb
@@ -151,11 +151,8 @@ do_install() {
151 fi 151 fi
152} 152}
153 153
154python do_pam_sanity () { 154inherit distro_features_check
155 if not bb.utils.contains('DISTRO_FEATURES', 'pam', True, False, d): 155REQUIRED_DISTRO_FEATURES = "pam"
156 bb.warn("Building libpam but 'pam' isn't in DISTRO_FEATURES, PAM won't work correctly")
157}
158addtask pam_sanity before do_configure
159 156
160BBCLASSEXTEND = "nativesdk native" 157BBCLASSEXTEND = "nativesdk native"
161 158