Skip to contentSkip to conversation

BuildImages.py: skip uclibc with core version >= 9

PATCH New Bill Randle 1 participant 2 messages Aug 2, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 BuildImages.py: skip uclibc with core version >= 9

Starting with oe-core version 9, we don't need to build uclibc anymore.

[YOCTO #10020]

---
 lib/python2.7/site-packages/autobuilder/buildsteps/BuildImages.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/python2.7/site-packages/autobuilder/buildsteps/BuildImages.py +1 -1
index 9ea350f..cb011ba 100644
@@ -120,7 +120,7 @@ class BuildImages(BitbakeShellCommand):
                 self.finished(SUCCESS)
                 self.description = ["Skipping no-x11 Build"]
             elif self.layerversion_core is not None \
-               and int(self.layerversion_core) < 8 \
+               and int(self.layerversion_core) != 8 \
                and 'uclibc' in self.localconf:
                 self.finished(SUCCESS)
                 self.description = ["Skipping uclibc Build"]
Signature · 1 line
2.5.5
#1 lore raw

PATCH 2/2 CreateBBLayersConf.py: do not include meta-qt3 when oe-core version is >= 9

Oe-core version 9 upgraded LSB to version 5, so the LSB builds no longer require qt3.

[YOCTO #10020]

---
 .../site-packages/autobuilder/buildsteps/CreateBBLayersConf.py       | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
lib/python2.7/site-packages/autobuilder/buildsteps/CreateBBLayersConf.py +2 -3
index a00c991..da53efe 100644
@@ -89,9 +89,8 @@ class CreateBBLayersConf(ShellCommand):
                     if (layer[layer.iterkeys().next()].has_key('checkout') and layer[layer.iterkeys().next()]['checkout'] is not False) \
                         or layer[layer.iterkeys().next()].has_key('checkout') is False:
                         if layer.iterkeys().next()=="meta-qt3":
-                            # For now, we want meta-qt3 in, no matter the layerversion
-                            #if layerversioncore is not None and int(layerversioncore) < 7:
-                            fout = fout + workdir + '/build/' + layer.iterkeys().next() + ' \ \n'
+                            if layerversioncore is not None and int(layerversioncore) < 9:
+                                fout = fout + workdir + '/build/' + layer.iterkeys().next() + ' \ \n'
                         elif layer.iterkeys().next()=="meta-qt4":
                             if layerversioncore is not None and int(layerversioncore) > 6:
                                 fout = fout + workdir + '/build/' + layer.iterkeys().next() + ' \ \n'
Signature · 1 line
2.5.5