All of lore.kernel.org
 help / color / mirror / Atom feed
* When to create a new build directory for yocto?
@ 2014-11-30  4:49 Qiang Yu
  2014-11-30  8:03 ` ChenQi
  0 siblings, 1 reply; 11+ messages in thread
From: Qiang Yu @ 2014-11-30  4:49 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1364 bytes --]

Hi all,

I'm maintaining a Yocto build system to produce these outputs:

1. ARM SOC 1
  1). board 1 image
  2). board 2 image
  3). SDK for i686
  4). SDK for x86_64
2. ARM SOC 2
  1). board 3 image
  2). board 4 image
  3). SDK for i686
  4). SDK for x86_64

Now I don't know the right way to create build directories for these
builds. The simplest way
I think is creating one build directory for each of these builds. But it
wast resource for boards
with the same SOC which can share cross toolchain. And ARM SOC 1 and ARM
SOC 2 use
different conf/bblayers.conf to add different BSP layer, I need to modify
it when switch SOC.
So the right way is creating one build directory for each SOC, then bitbake
each output's recipe,
right?

I am also not sure if I can put the SDK and board image in the same build
directory. Because
once I build a board's image after creating its SDK, I add gdbserver to it,
but the build fail without
really building the gdbserver package. So I guess the board image build is
confused by the SDK
build state.

So the conclusion is I need a recommended way to separate output into
different build directories:
1. minimize rebuild shared packages
2. no build state corruption
3. if multi output in the same build dir, no change to conf/ files or an
easy way to switch between

Regards,
Qiang

[-- Attachment #2: Type: text/html, Size: 1624 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-12-01  8:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-30  4:49 When to create a new build directory for yocto? Qiang Yu
2014-11-30  8:03 ` ChenQi
2014-11-30 14:28   ` Qiang Yu
2014-12-01  1:37     ` Qiang Yu
     [not found]   ` <CAKGbVbuLb-fzeGp78NxWYysVru=cweptGcjq2AuzVath+DC57g@mail.gmail.com>
     [not found]     ` <547BCC00.2070106@windriver.com>
2014-12-01  3:01       ` Qiang Yu
2014-12-01  3:27         ` ChenQi
2014-12-01  4:45           ` Qiang Yu
2014-12-01  5:28             ` ChenQi
2014-12-01  7:04               ` Qiang Yu
2014-12-01  7:23                 ` ChenQi
     [not found]                 ` <547C196A.8080208@windriver.com>
2014-12-01  8:13                   ` Qiang Yu

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.