Signed-off-by: Denys Dmytriyenko <[email protected]>
---
meta-arago-extras/recipes-core/meta/external-arm-bfd-version.inc | 6 +++---
meta-arago-extras/recipes-core/meta/external-linaro-bfd-version.inc | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/meta-arago-extras/recipes-core/meta/external-arm-bfd-version.inc
b/meta-arago-extras/recipes-core/meta/external-arm-bfd-version.inc
index 22f1033..1d8eed1 100644
--- a/meta-arago-extras/recipes-core/meta/external-arm-bfd-version.inc
+++ b/meta-arago-extras/recipes-core/meta/external-arm-bfd-version.inc
@@ -1,8 +1,8 @@
TOOLCHAIN_PATH ??= "${STAGING_BINDIR_TOOLCHAIN}"
def eat_get_bfd_version(d):
- import subprocess,os,bb
- if
os.path.exists(d.getVar('TOOLCHAIN_PATH')+'/bin/'+d.getVar('TARGET_PREFIX')+'as'):
- return
subprocess.Popen([d.getVar('TOOLCHAIN_PATH')+'/bin/'+d.getVar('TARGET_PREFIX')+'as',
'-v', '--version'],
stderr=subprocess.STDOUT,stdout=subprocess.PIPE).communicate()[0].splitlines()[0].split()[3]
+ import subprocess,os,bb
+ if
os.path.exists(d.getVar('TOOLCHAIN_PATH')+'/bin/'+d.getVar('TARGET_PREFIX')+'as'):
+ return
subprocess.Popen([d.getVar('TOOLCHAIN_PATH')+'/bin/'+d.getVar('TARGET_PREFIX')+'as',
'-v', '--version'],
stderr=subprocess.STDOUT,stdout=subprocess.PIPE).communicate()[0].splitlines()[0].split()[3]
EAT_VER_BFD := "${@eat_get_bfd_version(d)}"
diff --git
a/meta-arago-extras/recipes-core/meta/external-linaro-bfd-version.inc
b/meta-arago-extras/recipes-core/meta/external-linaro-bfd-version.inc
index bbc3604..9dc6e37 100644
--- a/meta-arago-extras/recipes-core/meta/external-linaro-bfd-version.inc
+++ b/meta-arago-extras/recipes-core/meta/external-linaro-bfd-version.inc
@@ -1,8 +1,8 @@
TOOLCHAIN_PATH ??= "${STAGING_BINDIR_TOOLCHAIN}"
def elt_get_bfd_version(d):
- import subprocess,os,bb
- if
os.path.exists(d.getVar('TOOLCHAIN_PATH')+'/bin/'+d.getVar('TARGET_PREFIX')+'as'):
- return
subprocess.Popen([d.getVar('TOOLCHAIN_PATH')+'/bin/'+d.getVar('TARGET_PREFIX')+'as',
'-v', '--version'],
stderr=subprocess.STDOUT,stdout=subprocess.PIPE).communicate()[0].splitlines()[0].split()[3]
+ import subprocess,os,bb
+ if
os.path.exists(d.getVar('TOOLCHAIN_PATH')+'/bin/'+d.getVar('TARGET_PREFIX')+'as'):
+ return
subprocess.Popen([d.getVar('TOOLCHAIN_PATH')+'/bin/'+d.getVar('TARGET_PREFIX')+'as',
'-v', '--version'],
stderr=subprocess.STDOUT,stdout=subprocess.PIPE).communicate()[0].splitlines()[0].split()[3]
ELT_VER_BFD := "${@elt_get_bfd_version(d)}"
--
2.7.4
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago