Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Ross Burton <ross.burton@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 2/3] musl: Build outside of source tree
Date: Fri, 3 Jan 2020 14:59:39 +0000	[thread overview]
Message-ID: <a22c2d43-076d-31d2-e33b-09a95fbb602a@intel.com> (raw)
In-Reply-To: <5c6e77fa2c33e38254395b6f315bd78b62c5c695.1578035913.git.raj.khem@gmail.com>

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.khem@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


  reply	other threads:[~2020-01-03 14:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-03  7:21 [PATCH 0/3] Upgrade musl to 1.1.24+ Khem Raj
2020-01-03  7:21 ` [PATCH 1/3] musl: Upgrade beyond 1.24 Khem Raj
2020-01-03  7:21 ` [PATCH 2/3] musl: Build outside of source tree Khem Raj
2020-01-03 14:59   ` Ross Burton [this message]
2020-01-03  7:21 ` [PATCH 3/3] tclibc-musl: Add -D__USE_TIME_BITS64 to c/c++ flags Khem Raj
2020-01-06 17:08   ` André Draszik
2020-01-06 17:32     ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a22c2d43-076d-31d2-e33b-09a95fbb602a@intel.com \
    --to=ross.burton@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox