[buildgear-devel] [buildgear/buildgear] 2755d2: Automatic assigment of layer by buildfile location

GitHub noreply at github.com
Thu Aug 21 15:21:12 MDT 2014


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

  Changed paths:
    M src/buildfile.cc

  Log Message:
  -----------
  Automatic assigment of layer by buildfile location

Buildfiles are now automatically assigned to <layer> when placed in:

buildfiles/cross/cross-<layer>
buildfiles/native/native-<layer>

Provided that <layer> is defined in the master config LAYERS list.

If <layer> is not defined in the LAYERS list buildfiles in these
locations will continue to default to the "default" layer.

However, the .layer file will still take priority if used.

This feature makes it much more easy to assign multiple buildfiles to a
single layer by not having to create a .layer file for each buildfile
but instead by simply putting them in the right layer directory
location.




More information about the buildgear-devel mailing list