]> code.ossystems Code Review - openembedded-core.git/commitdiff
musl: Build outside of source tree
authorKhem Raj <raj.khem@gmail.com>
Fri, 3 Jan 2020 07:21:22 +0000 (23:21 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 3 Jan 2020 22:35:19 +0000 (22:35 +0000)
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/musl/musl.inc

index 9aea2c39c8eb4883efe71b665fd23c424b997624..e5cc869cb9d600138aa0a31511abd40a815bb08d 100644 (file)
@@ -25,3 +25,5 @@ MIPS_INSTRUCTION_SET = "mips"
 ARM_INSTRUCTION_SET_armv5 = "arm"
 ARM_INSTRUCTION_SET_armv4 = "arm"
 
+# Enable out of tree build
+B = "${WORKDIR}/build"