[meta-freescale] [meta-fsl-arm][PATCH 2/8] fsl-eula-unpack.bbclass: Avoid warning about wrong 'S' being set
Otavio Salvador
otavio at ossystems.com.br
Thu Feb 5 03:04:56 PST 2015
The binary files packages provided by Freescale need to have the
specialized unpack method called before the OE-Core original one. This
unsures that the source is available when sanity tests are done.
This fixes following warning:
,----
| WARNING: .../libfslcodec/4.0.2-r0/libfslcodec-4.0.2 ('S') don't
| exist, you must set 'S' to a proper value
`----
Change-Id: Ie85c5b2abdc34449503b543e5fc8d8e914ac0c1c
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
classes/fsl-eula-unpack.bbclass | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/classes/fsl-eula-unpack.bbclass b/classes/fsl-eula-unpack.bbclass
index 0da17c3..7998406 100644
--- a/classes/fsl-eula-unpack.bbclass
+++ b/classes/fsl-eula-unpack.bbclass
@@ -52,12 +52,13 @@ python do_unpack() {
else:
bb.note("Freescale EULA has been accepted for '%s'" % pkg)
+ # The binary unpack needs to be done first so 'S' is valid
+ bb.build.exec_func('fsl_bin_do_unpack', d)
+
try:
bb.build.exec_func('base_do_unpack', d)
except:
raise
-
- bb.build.exec_func('fsl_bin_do_unpack', d)
}
do_unpack[vardepsexclude] += "FSL_EULA_FILE"
--
2.1.4
More information about the meta-freescale
mailing list