]> code.ossystems Code Review - openembedded-core.git/commit
default-distrovars.inc: Add 'DISTRO_FEATURES_DEFAULT' variable
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 15 Aug 2013 18:46:22 +0000 (15:46 -0300)
committerSaul Wold <sgw@linux.intel.com>
Tue, 20 Aug 2013 14:09:06 +0000 (07:09 -0700)
commit660ec04786162ff7f40aa78eb154dc4b5bf6ed9f
tree43e8c070faf4990e532a609f6889625a2dbb9722
parented45f00ef76d189611cda2cb922fa7eb8f86d9cc
default-distrovars.inc: Add 'DISTRO_FEATURES_DEFAULT' variable

When making distributions based on the default distro-less config, it
is useful to be able to reuse the default DISTRO_FEATURES options
without the need of duplication. The new variable,
DISTRO_FEATURES_DEFAULT, allow this reuse and customization.

So distros can include 'default-distrovars.inc' and use:

,----[ Use example ]
| DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} myfeature"
`----

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/conf/distro/include/default-distrovars.inc