Skip to contentSkip to conversation

musl: Build outside of source tree

PATCH New Khem Raj 1 participant 1 message Jan 3, 2020

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/1 musl: Build outside of source tree

musl does not use cmake/autotools etc. but plane old makefile basded build system, which means it does not get B defined to be outside S therefore define B explicitly to be outside S

Ensure that B is clean before configure task is run

---
v2: Add B to cleandirs

 meta/recipes-core/musl/musl.inc | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-core/musl/musl.inc +4 -0
index 9aea2c39c8..bdce412162 100644
@@ -25,3 +25,7 @@ MIPS_INSTRUCTION_SET = "mips"
 ARM_INSTRUCTION_SET_armv5 = "arm"
 ARM_INSTRUCTION_SET_armv4 = "arm"
 
+# Enable out of tree build
+B = "${WORKDIR}/build"
+
+do_configure[cleandirs] = "${B}"
Signature · 1 line
2.24.1