musl: Build outside of source tree
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
Signed-off-by Khem Raj <[email protected]>
---
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
@@ -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