The previous revision of this patch series showed what could be done at a distro level and image level. It was not suitable for OE-core because it encoded too specific use-cases and the usefulness of a distro-level switch is questionable.
The image-level mode switching however seems useful. This revision focuses on just that aspect. Instead of pre-defining certain modes and their meaning, only the generic infrastructure is left. It's still a separate class for reasons given in the commit message. That could be changed. Changes in V2: - dropped "build-mode" DISTRO_FEATURES - moved "development/debug/production" modes from actual code into comments Patrick Ohly (1): image-mode.bbclass: common infrastructure for choosing image defaults meta/classes/image-mode.bbclass | 66 ++++++++++++++++++++++++++++++++++- meta/classes/image.bbclass | 2 +- 2 files changed, 68 insertions(+) create mode 100644 meta/classes/image-mode.bbclass base-commit: c59fa3bd71b42410bf032846ee8fdb6e6eb1b95c -- git-series 0.9.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core