summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/populate_sdk_ext.bbclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 1f0621489f..6079166980 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -143,7 +143,12 @@ python copy_buildsystem () {
143 f.write('# this configuration provides, it is strongly suggested that you set\n') 143 f.write('# this configuration provides, it is strongly suggested that you set\n')
144 f.write('# up a proper instance of the full build system and use that instead.\n\n') 144 f.write('# up a proper instance of the full build system and use that instead.\n\n')
145 145
146 f.write('LCONF_VERSION = "%s"\n\n' % d.getVar('LCONF_VERSION', False)) 146 # LCONF_VERSION may not be set, for example when using meta-poky
147 # so don't error if it isn't found
148 lconf_version = d.getVar('LCONF_VERSION', False)
149 if lconf_version is not None:
150 f.write('LCONF_VERSION = "%s"\n\n' % lconf_version)
151
147 f.write('BBPATH = "$' + '{TOPDIR}"\n') 152 f.write('BBPATH = "$' + '{TOPDIR}"\n')
148 f.write('SDKBASEMETAPATH = "$' + '{TOPDIR}"\n') 153 f.write('SDKBASEMETAPATH = "$' + '{TOPDIR}"\n')
149 f.write('BBLAYERS := " \\\n') 154 f.write('BBLAYERS := " \\\n')