All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
To: colin.helliwell@ln-systems.com, yocto@yoctoproject.org
Subject: Re: Slightly varying builds
Date: Wed, 1 Nov 2017 19:04:07 +0200	[thread overview]
Message-ID: <51b14605-1467-71a5-d84a-e45f73796e60@linux.intel.com> (raw)
In-Reply-To: <06ee01d35330$8d4102e0$a7c308a0$@ln-systems.com>

On 11/01/2017 06:43 PM, colin.helliwell@ln-systems.com wrote:
> I need to build two slightly varying versions of our Yocto build – one 
> for the production units and one for development.
> 
> They differ in only a few ways – the kernel and apps are the same. But 
> one has Dropbear, whilst the other doesn’t; and the U-Boot configs & 
> patches are different.
> 
> I’m wondering where to do the separation – image, distro, conf…?
> 
> Any thoughts on the cleanest way to split and/or inherit them would be 
> appreciated.


Image, certainly. Put the common bits into an include, and specific bits 
into image-production|development.bb files. Poky has plenty of examples 
for this.


Alex


  reply	other threads:[~2017-11-01 17:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-01 16:43 Slightly varying builds colin.helliwell
2017-11-01 17:04 ` Alexander Kanavin [this message]
2017-11-02  7:10   ` Colin Helliwell
2017-11-02 16:26     ` Colin Helliwell
2017-11-02 16:29       ` Alexander Kanavin
2017-11-02 16:50         ` Colin Helliwell
2017-11-02 16:59           ` Alexander Kanavin
2017-11-02 17:22             ` Colin Helliwell

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=51b14605-1467-71a5-d84a-e45f73796e60@linux.intel.com \
    --to=alexander.kanavin@linux.intel.com \
    --cc=colin.helliwell@ln-systems.com \
    --cc=yocto@yoctoproject.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.