All of lore.kernel.org
 help / color / mirror / Atom feed
* TEMPLATECONF for multiple devices
@ 2016-09-23 11:46 skorpyon1992
  0 siblings, 0 replies; only message in thread
From: skorpyon1992 @ 2016-09-23 11:46 UTC (permalink / raw)
  To: yocto

      Hello everyone,

      I started to build linux distributions for different devices and I 
would like to write some scripts that automatically clones git 
repositories  (poky, necessary layers, etc) and build the final image 
for the desired device. The configuration templates (provided from my 
custom layer) are the same for all devices except the MACHINE variable.
  Until now, for testing, I have manually set the TEMPLATECONF path 
(export TEMPLATECONF= path-to-my-layer/meta-mylayer/conf source 
poky/oe-init-build-env build-mydevice) and modified the local.conf with 
the correspondant  MACHINE name before creating any image.

   What would it be the best practice to minimize the configuration 
part? Use the same template configurations and modify the variables (in 
this case the MACHINE variable) after? Or have separate template 
configurations for each device inside my layer?

     Thanks in advance!


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-23 11:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-23 11:46 TEMPLATECONF for multiple devices skorpyon1992

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.