meta/conf/templates: add a blank template
PATCH 1/1 meta/conf/templates: add a blank template
From: Alexander Kanavin <[email protected]>
The default oe-core/poky templates have a number of settings (such as distro and machine) and are thus unsuitable for building up configurations from fragments. This adds a template with an empty local.conf, so that it can be used as the starting point for fragment-driven configuration.
There will also be a blank template in poky; the difference is that this one includes only oe-core and the poky one adds poky layers.
Signed-off-by Alexander Kanavin <[email protected]>
--- .../conf/templates/blank/bblayers.conf.sample | 10 ++++++++++ meta/conf/templates/blank/conf-notes.txt | 19 +++++++++++++++++++ meta/conf/templates/blank/conf-summary.txt | 1 + meta/conf/templates/blank/local.conf.sample | 10 ++++++++++ 4 files changed, 40 insertions(+) create mode 100644 meta/conf/templates/blank/bblayers.conf.sample create mode 100644 meta/conf/templates/blank/conf-notes.txt create mode 100644 meta/conf/templates/blank/conf-summary.txt create mode 100644 meta/conf/templates/blank/local.conf.sample
meta/conf/templates/blank/bblayers.conf.sample new file +10 -0
@@ -0,0 +1,10 @@ +# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf +# changes incompatibly +LCONF_VERSION = "7" + +BBPATH = "${TOPDIR}" +BBFILES ?= "" + +BBLAYERS ?= " \ + ##OEROOT##/meta \ + "
meta/conf/templates/blank/conf-notes.txt new file +19 -0
@@ -0,0 +1,19 @@ + +### Shell environment set up for builds. ### + +You can now run 'bitbake <target>' + +Common targets are: + core-image-minimal + core-image-full-cmdline + core-image-sato + core-image-weston + meta-toolchain + meta-ide-support + +You can also run generated qemu images with a command like 'runqemu qemux86-64'. + +Other commonly useful commands are: + - 'devtool' and 'recipetool' handle common recipe tasks + - 'bitbake-layers' handles common layer tasks + - 'oe-pkgdata-util' handles common target package tasks
meta/conf/templates/blank/conf-summary.txt new file +1 -0
@@ -0,0 +1 @@ +This configuration is empty and is intended as a starting point for adding configuration fragments.
meta/conf/templates/blank/local.conf.sample new file +10 -0
@@ -0,0 +1,10 @@ +# +# This file is intended for local configuration tweaks. It is intentionally +# set up empty, so that configuration can be constructed from fragments +# using bitbake-config-build tool and by setting MACHINE and DISTRO here. +# +# If you would like to publish this file (for example as a bitbake +# configuration template), it is recommended to create fragments +# from changes made here; the only settings that can remain are +# MACHINE and DISTRO. +#
Signature · 1 line
2.39.5