summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-04-20 17:47:07 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-24 11:05:57 +0100
commit80bbd763448fa061e3dbc3ace8d6bc9f65e4bfaf (patch)
tree76ae2a38ab2b5b6025d2c8a47ed68568140e7db2 /meta/classes
parentbeaf851ae8aadb5b9e3c0b9840479efcbb05be23 (diff)
downloadopenembedded-core-80bbd763448fa061e3dbc3ace8d6bc9f65e4bfaf.tar.gz
openembedded-core-80bbd763448fa061e3dbc3ace8d6bc9f65e4bfaf.tar.bz2
openembedded-core-80bbd763448fa061e3dbc3ace8d6bc9f65e4bfaf.zip
classes/populate_sdk_ext: add warning against editing configuration
It may be tempting to edit the configuration of the encapsulated version of the build system, however that is not the way it is intended to be used, so add a warning against doing this. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/populate_sdk_ext.bbclass10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 17a8e8cdf4..44b926e2d7 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -91,6 +91,11 @@ python copy_buildsystem () {
# Create bblayers.conf
bb.utils.mkdirhier(baseoutpath + '/conf')
with open(baseoutpath + '/conf/bblayers.conf', 'w') as f:
+ f.write('# WARNING: this configuration has been automatically generated and in\n')
+ f.write('# most cases should not be edited. If you need more flexibility than\n')
+ f.write('# this configuration provides, it is strongly suggested that you set\n')
+ f.write('# up a proper instance of the full build system and use that instead.\n\n')
+
f.write('LCONF_VERSION = "%s"\n\n' % d.getVar('LCONF_VERSION'))
f.write('BBPATH = "$' + '{TOPDIR}"\n')
f.write('SDKBASEMETAPATH = "$' + '{TOPDIR}"\n')
@@ -102,6 +107,11 @@ python copy_buildsystem () {
# Create local.conf
with open(baseoutpath + '/conf/local.conf', 'w') as f:
+ f.write('# WARNING: this configuration has been automatically generated and in\n')
+ f.write('# most cases should not be edited. If you need more flexibility than\n')
+ f.write('# this configuration provides, it is strongly suggested that you set\n')
+ f.write('# up a proper instance of the full build system and use that instead.\n\n')
+
f.write('INHERIT += "%s"\n\n' % 'uninative')
f.write('CONF_VERSION = "%s"\n\n' % d.getVar('CONF_VERSION'))