* ti-xdctools is a host development package, but the target recipe is
  needed to create the sourceipk used in SDKs.
* And move class extension to common include.

Signed-off-by: Jacob Stiffler <j-stiff...@ti.com>
---
 recipes-ti/devtools/ti-xdctools-common.inc    | 6 +++++-
 recipes-ti/devtools/ti-xdctools_3.50.03.33.bb | 4 ----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/recipes-ti/devtools/ti-xdctools-common.inc 
b/recipes-ti/devtools/ti-xdctools-common.inc
index 17166ca..d2d0df4 100644
--- a/recipes-ti/devtools/ti-xdctools-common.inc
+++ b/recipes-ti/devtools/ti-xdctools-common.inc
@@ -7,10 +7,14 @@ require recipes-ti/includes/ti-paths.inc
 require recipes-ti/includes/ti-staging.inc
 
 do_install() {
+    CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
+
     install -d ${D}${XDC_INSTALL_DIR_RECIPE}
-    cp -pPrf ${S}/* ${D}${XDC_INSTALL_DIR_RECIPE}
+    cp ${CP_ARGS}  ${S}/* ${D}${XDC_INSTALL_DIR_RECIPE}
 }
 
+BBCLASSEXTEND = "native nativesdk"
+
 INHIBIT_PACKAGE_STRIP = "1"
 INHIBIT_SYSROOT_STRIP = "1"
 INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
diff --git a/recipes-ti/devtools/ti-xdctools_3.50.03.33.bb 
b/recipes-ti/devtools/ti-xdctools_3.50.03.33.bb
index 6ab2b94..73ab3bd 100644
--- a/recipes-ti/devtools/ti-xdctools_3.50.03.33.bb
+++ b/recipes-ti/devtools/ti-xdctools_3.50.03.33.bb
@@ -7,7 +7,3 @@ LIC_FILES_CHKSUM = 
"file://docs/license/xdc/shelf/package.html;beginline=1;endli
 
 SRC_URI[xdczip.md5sum] = "21310b647275a7c7dd5b37dcb96c0b1b"
 SRC_URI[xdczip.sha256sum] = 
"afe8616773e63b01e79e8cfacaf4d2c8d3b92c798c7f8cf5d1c7b5fe2060bbe4"
-
-FILES_${PN} += "${XDC_INSTALL_DIR_RECIPE}"
-
-BBCLASSEXTEND = "native nativesdk"
-- 
2.7.4

-- 
_______________________________________________
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to