diff mbox series

[meta-oe,115/128] pam-radius: skip pre-configure make clean via CLEANBROKEN

Message ID 20260628162222.4081517-15-khem.raj@oss.qualcomm.com
State New
Headers show
Series None | expand

Commit Message

Khem Raj June 28, 2026, 4:22 p.m. UTC
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 <raj.khem@gmail.com>
---
 meta-oe/recipes-extended/pam/pam-radius_3.0.0.bb | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

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() {