diff options
Diffstat (limited to 'meta/recipes-extended/pam')
-rw-r--r-- | meta/recipes-extended/pam/libpam_1.3.0.bb | 7 |
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 | ||
154 | python do_pam_sanity () { | 154 | inherit distro_features_check |
155 | if not bb.utils.contains('DISTRO_FEATURES', 'pam', True, False, d): | 155 | REQUIRED_DISTRO_FEATURES = "pam" |
156 | bb.warn("Building libpam but 'pam' isn't in DISTRO_FEATURES, PAM won't work correctly") | ||
157 | } | ||
158 | addtask pam_sanity before do_configure | ||
159 | 156 | ||
160 | BBCLASSEXTEND = "nativesdk native" | 157 | BBCLASSEXTEND = "nativesdk native" |
161 | 158 | ||