The shipped Makefile errors out

'You must run ./configure before make'

when Make.inc/src/config.h are missing, so the 'make clean' run by
autotools_preconfigure fails before configure has run.

Set CLEANBROKEN to skip that clean.

Signed-off-by: Khem Raj <[email protected]>
---
 meta-oe/recipes-extended/pam/pam-radius_3.0.0.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-oe/recipes-extended/pam/pam-radius_3.0.0.bb 
b/meta-oe/recipes-extended/pam/pam-radius_3.0.0.bb
index 0e2199b066..32373129be 100644
--- a/meta-oe/recipes-extended/pam/pam-radius_3.0.0.bb
+++ b/meta-oe/recipes-extended/pam/pam-radius_3.0.0.bb
@@ -16,6 +16,11 @@ DEPENDS = "libpam"
 inherit autotools-brokensep features_check
 REQUIRED_DISTRO_FEATURES = "pam"
 
+# The shipped Makefile errors out ("You must run './configure' before 'make'")
+# when Make.inc/src/config.h are missing, so the "make clean" run by
+# autotools_preconfigure fails before configure has run. Skip that clean.
+CLEANBROKEN = "1"
+
 EXTRA_OECONF = "--disable-developer"
 
 do_install() {
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127925): 
https://lists.openembedded.org/g/openembedded-devel/message/127925
Mute This Topic: https://lists.openembedded.org/mt/120018149/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to