libcmds: Write more bblayers.conf boilerplate settings
Irrespective of build system (OE / Yocto / Isar), they all have BBPATH = "${TOPDIR}" BBFILES ?= "" in their bblayers_conf_header fragments. This could be dropped if kas wrote those standard assignments already. So let's do that, weakly so that those could still be overwritten via bblayers_conf_header. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
95df3720e1
commit
bfee47ebbc
@ -103,6 +103,8 @@ Changed behavior
|
|||||||
|
|
||||||
- String item ``includes`` are now using repo-relative paths. File-relative is
|
- String item ``includes`` are now using repo-relative paths. File-relative is
|
||||||
still supported by issues a deprecation warning.
|
still supported by issues a deprecation warning.
|
||||||
|
- bblayers.conf is generated with ``BBPATH`` and ``BBFILES`` preset to common
|
||||||
|
defaults. Those can still be overwritten via ``bblayers_conf_headers``.
|
||||||
|
|
||||||
Added
|
Added
|
||||||
~~~~~
|
~~~~~
|
||||||
|
@ -256,6 +256,8 @@ class WriteBBConfig(Command):
|
|||||||
sorted(layer for repo in ctx.config.get_repos()
|
sorted(layer for repo in ctx.config.get_repos()
|
||||||
for layer in repo.layers)))
|
for layer in repo.layers)))
|
||||||
fds.write('"\n')
|
fds.write('"\n')
|
||||||
|
fds.write('BBPATH ?= "${TOPDIR}"\n')
|
||||||
|
fds.write('BBFILES ??= ""\n')
|
||||||
|
|
||||||
def _write_local_conf(ctx):
|
def _write_local_conf(ctx):
|
||||||
filename = ctx.build_dir + '/conf/local.conf'
|
filename = ctx.build_dir + '/conf/local.conf'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user