All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Garman <scott.a.garman@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: proper way to bounce between two (or more) build directories?
Date: Thu, 22 Mar 2012 08:54:57 -0700	[thread overview]
Message-ID: <4F6B4B51.3080806@intel.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1203220731420.16149@oneiric>

On 03/22/2012 04:42 AM, Robert P. J. Day wrote:
>
>    haven't seen this mentioned anywhere and i know it's simple but i
> want to confirm this.
>
>    say i run oe-init-build-env to initialize a new project, part of the
> effect of that is to prepend the OE and bitbake related directories to
> PATH.  i work there for a while, then want to put that on hold to
> start a second build.
>
>    i rerun oe-init-build-env to set up that second build, which works
> fine but, unsurprisingly, that prepends the OE directories to my PATH
> *again* (but i really have no choice, it has to be done).
>
>    after a while, i want to go back to the first project.  am i
> expected to run oe-init-build-env yet again?  (prepending directories
> yet again?)

I would generally do my best to avoid working with multiple build areas 
in the same terminal, and it's definitely not a case we test with.

>    as best i can tell, the only change i need to make in switching
> build directories is to reset the BUILDDIR env variable.  is that all
> that's necessary?  i don't see anything else in my environment that
> would have to be reset.

Compare your env before and after running the oe-init-build-env script, 
then prepend something to unset the variables that were added.

If you want to submit a patch make the oe-init-build-env script 
idempotent in this way, that could be useful.

cc: to Beth in case there's something weird we do with our autobuilder 
environment that she would want to comment on.

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center



  reply	other threads:[~2012-03-22 16:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-22 11:42 proper way to bounce between two (or more) build directories? Robert P. J. Day
2012-03-22 15:54 ` Scott Garman [this message]
2012-03-22 16:27   ` Robert P. J. Day

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=4F6B4B51.3080806@intel.com \
    --to=scott.a.garman@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.