diff options
| -rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 10 |
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 () { | |||
| 91 | # Create bblayers.conf | 91 | # Create bblayers.conf |
| 92 | bb.utils.mkdirhier(baseoutpath + '/conf') | 92 | bb.utils.mkdirhier(baseoutpath + '/conf') |
| 93 | with open(baseoutpath + '/conf/bblayers.conf', 'w') as f: | 93 | with open(baseoutpath + '/conf/bblayers.conf', 'w') as f: |
| 94 | f.write('# WARNING: this configuration has been automatically generated and in\n') | ||
| 95 | f.write('# most cases should not be edited. If you need more flexibility than\n') | ||
| 96 | f.write('# this configuration provides, it is strongly suggested that you set\n') | ||
| 97 | f.write('# up a proper instance of the full build system and use that instead.\n\n') | ||
| 98 | |||
| 94 | f.write('LCONF_VERSION = "%s"\n\n' % d.getVar('LCONF_VERSION')) | 99 | f.write('LCONF_VERSION = "%s"\n\n' % d.getVar('LCONF_VERSION')) |
| 95 | f.write('BBPATH = "$' + '{TOPDIR}"\n') | 100 | f.write('BBPATH = "$' + '{TOPDIR}"\n') |
| 96 | f.write('SDKBASEMETAPATH = "$' + '{TOPDIR}"\n') | 101 | f.write('SDKBASEMETAPATH = "$' + '{TOPDIR}"\n') |
| @@ -102,6 +107,11 @@ python copy_buildsystem () { | |||
| 102 | 107 | ||
| 103 | # Create local.conf | 108 | # Create local.conf |
| 104 | with open(baseoutpath + '/conf/local.conf', 'w') as f: | 109 | with open(baseoutpath + '/conf/local.conf', 'w') as f: |
| 110 | f.write('# WARNING: this configuration has been automatically generated and in\n') | ||
| 111 | f.write('# most cases should not be edited. If you need more flexibility than\n') | ||
| 112 | f.write('# this configuration provides, it is strongly suggested that you set\n') | ||
| 113 | f.write('# up a proper instance of the full build system and use that instead.\n\n') | ||
| 114 | |||
| 105 | f.write('INHERIT += "%s"\n\n' % 'uninative') | 115 | f.write('INHERIT += "%s"\n\n' % 'uninative') |
| 106 | f.write('CONF_VERSION = "%s"\n\n' % d.getVar('CONF_VERSION')) | 116 | f.write('CONF_VERSION = "%s"\n\n' % d.getVar('CONF_VERSION')) |
| 107 | 117 | ||
