summaryrefslogtreecommitdiffstats
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
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() {
50} 50}
51 51
52do_install() { 52do_install() {
53 CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
53 install -d ${D}/lib/firmware/pru 54 install -d ${D}/lib/firmware/pru
55 install -d ${D}${includedir}
56 cp ${CP_ARGS} ${S}/include/* ${D}${includedir}
57 install -d ${D}${libdir}
58 install -m 0644 ${S}/lib/rpmsg_lib.lib ${D}${libdir}
54} 59}
55 60
61FILES_${PN}-staticdev = "${libdir}"
62FILES_${PN}-dev = "${includedir}"
63
56do_install_append_ti33x() { 64do_install_append_ti33x() {
57 install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \ 65 install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \
58 ${D}/lib/firmware/pru 66 ${D}/lib/firmware/pru