On 03/01/2020 07:21, Khem Raj wrote:
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.k...@gmail.com>
---
  meta/recipes-core/musl/musl.inc | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/musl/musl.inc b/meta/recipes-core/musl/musl.inc
index 9aea2c39c8..e5cc869cb9 100644
--- a/meta/recipes-core/musl/musl.inc
+++ b/meta/recipes-core/musl/musl.inc
@@ -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"

That directory won't get cleaned unless you also set [cleandirs].

Ross
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to