[buildgear-devel] [buildgear/buildgear] cbff16: Removed '.layer' file support

GitHub noreply at github.com
Sun Aug 31 06:43:17 MDT 2014

  Branch: refs/heads/master
  Home:   https://github.com/buildgear/buildgear
  Commit: cbff162a07595ea293b67558eddf8c54ea33b70b
  Author: Martin Lund <martin.lund at keep-it-simple.com>
  Date:   2014-08-31 (Sun, 31 Aug 2014)

  Changed paths:
    M src/buildfile.cc
    M src/include/buildgear/config.h

  Log Message:
  Removed '.layer' file support

Defining which layer a Buildfile belongs to using the .layer file is now

Instead the layer can now be defined in the Buildfile itself by adding
the "layer" variable. For example, to assign a Buildfile to "mylayer"
simply add:


If the layer is not defined in the master config LAYERS list, then the
Buildfile will default to the "default" layer.

Please note that the preferred method for assigning layers is by
Buildfile path location (eg. cross-<layer>) and not by using the "layer"

This is part of a plan to consolidate all settings inside the Buildfile
to make the Buildfile more precise to avoid that the user misses any

More information about the buildgear-devel mailing list