[meta-freescale] [Documentation][PATCH 4/4] extract-bitbake-metadata: set "expand" parameter to True
Lucas Dutra Nunes
ldnunes at ossystems.com.br
Sat Feb 27 06:40:23 PST 2016
The FSL Community BSP has a method used for manipulating variables that
was updated on the master-next version to require a previously optional
parameter: "expand". This breaks getting information for the master-next
branch of the BSP.
By always setting the parameter when calling the method the problem is
fixed.
Signed-off-by: Lucas Dutra Nunes <ldnunes at ossystems.com.br>
---
scripts/extract-bitbake-metadata.py | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/scripts/extract-bitbake-metadata.py b/scripts/extract-bitbake-metadata.py
index cfd617c..d4b1634 100644
--- a/scripts/extract-bitbake-metadata.py
+++ b/scripts/extract-bitbake-metadata.py
@@ -292,9 +292,11 @@ def extract_bitbake_metadata(recipes):
data = {}
metadata = tinfoil.parse_metadata()
- machine = metadata.getVar('MACHINE')
- data['image-bootloader'] = metadata.getVar('IMAGE_BOOTLOADER')
- data['soc-family'] = metadata.getVar('SOC_FAMILY')
+ machine = metadata.getVar('MACHINE', True)
+ data['image-bootloader'] = metadata.getVar('IMAGE_BOOTLOADER', True)
+ data['soc-family'] = metadata.getVar('SOC_FAMILY', True)
+ if data['soc-family'] is None:
+ data['soc-family'] = metadata.getVar('MACHINEOVERRIDES', True)
data['recipes'] = {}
metadata = None
--
2.1.4
More information about the meta-freescale
mailing list