Skip to contentSkip to conversation

opencl-examples, openmpacc-examples: fix do_unpack() and correct args to getVar()

PATCH New Denys Dmytriyenko 1 participant 1 message Apr 2, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opencl-examples, openmpacc-examples: fix do_unpack() and correct args to getVar()

From: Denys Dmytriyenko <[email protected]>

---
 meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb          | 2 +-
 meta-arago-extras/recipes-ti/openmpacc/openmpacc-examples_git.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb +1 -1
index c067085..981e5ad 100644
@@ -45,7 +45,7 @@ python do_unpack_append() {
     os.makedirs(s)
     shutil.copy(os.path.join(git_dir,"Makefile"),s)
     shutil.copy(os.path.join(git_dir,"make.inc"),s)
-    for example in d.getVar("OCL_EXAMPLE_LIST").split():
+    for example in d.getVar("OCL_EXAMPLE_LIST", True).split():
         shutil.copytree(os.path.join(git_dir,example), os.path.join(s,example))
 }
 
meta-arago-extras/recipes-ti/openmpacc/openmpacc-examples_git.bb +1 -1
index 9c7e85e..703e754 100644
@@ -36,7 +36,7 @@ python do_unpack_append() {
     shutil.copy(os.path.join(git_dir,"Makefile"),s)
     shutil.copy(os.path.join(git_dir,"make.inc"),s)
     shutil.copy(os.path.join(git_dir,"ompacc_env.sh"),s)
-    for example in d.getVar("OMPACC_EXAMPLE_LIST").split():
+    for example in d.getVar("OMPACC_EXAMPLE_LIST", True).split():
         shutil.copytree(os.path.join(git_dir,example), os.path.join(s,example))
 }
 
Signature · 1 line
2.2.0