All of lore.kernel.org
 help / color / mirror / Atom feed
* best practice for different projects on the same board
@ 2013-01-25 11:19 Jaap de Jong
  2013-01-25 11:40 ` Marcin Juszkiewicz
  0 siblings, 1 reply; 2+ messages in thread
From: Jaap de Jong @ 2013-01-25 11:19 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

Hi All,
I'm wondering what the best practice would be in the following situation.
We have a board that is going to be used in several projects.
The set of basic packages is the same but every project might have some 
minor and perhaps sometimes major differences in f.i. config files.
I don't want to make a copy of the base project for every upcoming new 
project. I would really like to handle with the differences only.
What is the best approach for this?
Thanks!
Jaap




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

* Re: best practice for different projects on the same board
  2013-01-25 11:19 best practice for different projects on the same board Jaap de Jong
@ 2013-01-25 11:40 ` Marcin Juszkiewicz
  0 siblings, 0 replies; 2+ messages in thread
From: Marcin Juszkiewicz @ 2013-01-25 11:40 UTC (permalink / raw)
  To: openembedded-devel

W dniu 25.01.2013 12:19, Jaap de Jong pisze:
> Hi All,
> I'm wondering what the best practice would be in the following situation.
> We have a board that is going to be used in several projects.
> The set of basic packages is the same but every project might have some
> minor and perhaps sometimes major differences in f.i. config files.
> I don't want to make a copy of the base project for every upcoming new
> project. I would really like to handle with the differences only.
> What is the best approach for this?

Create conf/machine/board1.conf and describe everything there. Set
kernel etc. Then create conf/machine/board2.conf which will "require
conf/machine/board1.conf" and then change what is needed.

This way you have two values of MACHINE variable which you can use in
all recipes you need to modify for boards. And you are able to do builds
with one TMPDIR so most of builds will be reused.




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

end of thread, other threads:[~2013-01-25 11:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-25 11:19 best practice for different projects on the same board Jaap de Jong
2013-01-25 11:40 ` Marcin Juszkiewicz

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.