* Install relative to ${D}
* Add files to a package
* Add missing dependency

Signed-off-by: Jacob Stiffler <[email protected]>
---
 meta-arago-extras/recipes-ti/ocl-rtos/opencl-monitor-rtos_git.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta-arago-extras/recipes-ti/ocl-rtos/opencl-monitor-rtos_git.bb 
b/meta-arago-extras/recipes-ti/ocl-rtos/opencl-monitor-rtos_git.bb
index 8add3ef..62e7131 100644
--- a/meta-arago-extras/recipes-ti/ocl-rtos/opencl-monitor-rtos_git.bb
+++ b/meta-arago-extras/recipes-ti/ocl-rtos/opencl-monitor-rtos_git.bb
@@ -20,6 +20,7 @@ DEPENDS = " ti-llvm3.6-native \
             ti-framework-components \
             libaet \
             openmp-rtos \
+            gcc-arm-none-eabi-native \
 "
 
 COMPATIBLE_MACHINE = "omap-a15"
@@ -55,10 +56,10 @@ export GDB_SERVER_DIR = 
"${STAGING_DIR_TARGET}/usr/share/ti/gdbc6x"
 export AET_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/ctoolslib/aet"
 export X86_LLVM_DIR = "${STAGING_DIR_NATIVE}/usr"
 export XDCPATH = 
"${S};${IPC_DIR}/packages;${BIOS_DIR}/packages;${EDMA3LLD_DIR}/packages;${FC_DIR}/packages;${XDAIS_DIR}/packages"
-export 
DESTDIR="${OCL_RTOS_INSTALL_DIR}/ti-opencl-rtos-${RELEASE_TARGET}-${PV}/packages/ti/opencl"
+export 
DESTDIR="${D}${OCL_RTOS_INSTALL_DIR_RECIPE}/ti-opencl-rtos-${RELEASE_TARGET}-${PV}/packages/ti/opencl"
 
 do_install() {
     oe_runmake install
-    install -d ${DESTDIR}/platforms/am57x_rtos
-    cp -r ${S}/../packages/ti/opencl/platforms/am57x_rtos/* 
${DESTDIR}/platforms/am57x_rtos/
 }
+
+FILES_${PN} += "${OCL_RTOS_INSTALL_DIR_RECIPE}"
-- 
2.7.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to