aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2019-08-07 07:04:27 +0000
committerDenys Dmytriyenko <denys@ti.com>2019-08-07 01:50:50 +0000
commit661bbc892b2ca41e04dd2492d46ec129e0780cc4 (patch)
treefa6c5119b152bb98001a0dbc48363faa8c2e4c1c
parent04989ab554202150fae05e90eb0c5d8e0d910ad0 (diff)
downloadmeta-ti-661bbc892b2ca41e04dd2492d46ec129e0780cc4.tar.gz
meta-ti-661bbc892b2ca41e04dd2492d46ec129e0780cc4.tar.bz2
meta-ti-661bbc892b2ca41e04dd2492d46ec129e0780cc4.zip
pru-icss: also install headers and library into dev packages
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r--recipes-bsp/pru/pru-icss_git.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-bsp/pru/pru-icss_git.bb b/recipes-bsp/pru/pru-icss_git.bb
index a36bce05..812caae9 100644
--- a/recipes-bsp/pru/pru-icss_git.bb
+++ b/recipes-bsp/pru/pru-icss_git.bb
@@ -50,9 +50,17 @@ do_compile() {
}
do_install() {
+ CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
install -d ${D}/lib/firmware/pru
+ install -d ${D}${includedir}
+ cp ${CP_ARGS} ${S}/include/* ${D}${includedir}
+ install -d ${D}${libdir}
+ install -m 0644 ${S}/lib/rpmsg_lib.lib ${D}${libdir}
}
+FILES_${PN}-staticdev = "${libdir}"
+FILES_${PN}-dev = "${includedir}"
+
do_install_append_ti33x() {
install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \
${D}/lib/firmware/pru