All of lore.kernel.org
 help / color / mirror / Atom feed
* Multiple Projects from the same build directory
@ 2016-12-15 20:49 Ronald Oakes
  2016-12-15 21:46 ` Rick Altherr
  0 siblings, 1 reply; 3+ messages in thread
From: Ronald Oakes @ 2016-12-15 20:49 UTC (permalink / raw)
  To: yocto

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

I'll admit I'm being a bit lazy. I have two related projects, will call
them A and B. B is dependent on A's layers and adds its own. So far, there
have been no issues with just building them in the same directory since
they have separate image recepies.

However, I'm shortly going to be needing to create different fstab files
for each, as the two will have different disk configurations. But, if I
have two conflicting .bbappend files each specifying a fstab, only one will
get used.

So, is there a way to either specify in the image recepie or elsewhere
which should be used, or do I need to just create a new build direcory with
 the different set of layers for project A.

Ron O

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

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

* Re: Multiple Projects from the same build directory
  2016-12-15 20:49 Multiple Projects from the same build directory Ronald Oakes
@ 2016-12-15 21:46 ` Rick Altherr
  2016-12-16  1:32   ` Daniel.
  0 siblings, 1 reply; 3+ messages in thread
From: Rick Altherr @ 2016-12-15 21:46 UTC (permalink / raw)
  To: Ronald Oakes; +Cc: yocto

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

Is the fstab dependent on MACHINE or DISTRO?

On Thu, Dec 15, 2016 at 12:49 PM, Ronald Oakes <ron@ron-oakes.us> wrote:

> I'll admit I'm being a bit lazy. I have two related projects, will call
> them A and B. B is dependent on A's layers and adds its own. So far, there
> have been no issues with just building them in the same directory since
> they have separate image recepies.
>
> However, I'm shortly going to be needing to create different fstab files
> for each, as the two will have different disk configurations. But, if I
> have two conflicting .bbappend files each specifying a fstab, only one will
> get used.
>
> So, is there a way to either specify in the image recepie or elsewhere
> which should be used, or do I need to just create a new build direcory with
>  the different set of layers for project A.
>
> Ron O
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>

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

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

* Re: Multiple Projects from the same build directory
  2016-12-15 21:46 ` Rick Altherr
@ 2016-12-16  1:32   ` Daniel.
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel. @ 2016-12-16  1:32 UTC (permalink / raw)
  Cc: yocto

Create two recipes that fetch from same source but compile A or B.
Something like A.bb and B.bb with same SRC_URI but distinct
do_compile. So you can bbappend they independently. You can maintain
the common parts at a .inc file also to keep DRY principle.

Cheers,

2016-12-15 19:46 GMT-02:00 Rick Altherr <raltherr@google.com>:
> Is the fstab dependent on MACHINE or DISTRO?
>
> On Thu, Dec 15, 2016 at 12:49 PM, Ronald Oakes <ron@ron-oakes.us> wrote:
>>
>> I'll admit I'm being a bit lazy. I have two related projects, will call
>> them A and B. B is dependent on A's layers and adds its own. So far, there
>> have been no issues with just building them in the same directory since they
>> have separate image recepies.
>>
>> However, I'm shortly going to be needing to create different fstab files
>> for each, as the two will have different disk configurations. But, if I have
>> two conflicting .bbappend files each specifying a fstab, only one will get
>> used.
>>
>> So, is there a way to either specify in the image recepie or elsewhere
>> which should be used, or do I need to just create a new build direcory with
>> the different set of layers for project A.
>>
>> Ron O
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



-- 
"Do or do not. There is no try"
  Yoda Master


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

end of thread, other threads:[~2016-12-16  1:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-15 20:49 Multiple Projects from the same build directory Ronald Oakes
2016-12-15 21:46 ` Rick Altherr
2016-12-16  1:32   ` Daniel.

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.