summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Wesp <n.wesp@phytec.de>2020-09-04 15:47:24 +0200
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2020-09-04 16:30:05 +0200
commit28d400516653dbfd07ac9310afbe55788d93831c (patch)
tree5a79881480d6f69b47cc09f10aa040b537ce63d9
parent91363a701ed92a8cb2dea0c948c6f132cd0ad91b (diff)
downloadmeta-phytec-sumo.tar.bz2
meta-phytec-sumo.zip
init_bblayers.conf: do not sort layers_to_addsumo
By sorting the layers, before they will be added to bblayers.conf, we will break (for example) i.MX8 builds, as they depend on the sequence of meta-layer defined by the manifests. The sequence of layers in bblayers.conf defines the sequence of paths to search for any needed files (except recipes) during a build. Signed-off-by: Norbert Wesp <n.wesp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rwxr-xr-xscripts/init_bblayers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/init_bblayers.py b/scripts/init_bblayers.py
index 3906569..656b8b8 100755
--- a/scripts/init_bblayers.py
+++ b/scripts/init_bblayers.py
@@ -20,7 +20,7 @@ class BSP_BBLayer(BoardSupportPackage):
print("Layers to add:", layers_to_add)
with open(self.bblayers_conf, "a") as f:
f.write("BBLAYERS += \"\\\n")
- for l in sorted(layers_to_add):
+ for l in layers_to_add:
f.write(" ${OEROOT}/../%s \\\n" % l)
f.write(" \"\n")