diff options
author | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-10-22 14:58:56 +0900 |
---|---|---|
committer | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-10-22 14:58:56 +0900 |
commit | 4204309872da5cb401cbb2729d9e2d4869a87f42 (patch) | |
tree | c7415e8600205e40ff7e91e8e5f4c411f30329f2 /bsp/meta-ti/recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb | |
parent | 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (diff) |
agl-basesystem 0.1sandbox/ToshikazuOhiwa/master
Diffstat (limited to 'bsp/meta-ti/recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb')
-rw-r--r-- | bsp/meta-ti/recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/bsp/meta-ti/recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb b/bsp/meta-ti/recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb new file mode 100644 index 00000000..e005ea70 --- /dev/null +++ b/bsp/meta-ti/recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb @@ -0,0 +1,45 @@ +SUMMARY = "TI RTOS low level driver for IPC" + +require ipc-lld.inc + +DEPENDS += " osal-rtos common-csl-ip-rtos sciclient-rtos" + +do_configure() { + # remove any previous package + rm -rf ${IPCLLD_PACKAGE_BASE} + cd ${S} + + mkdir -p ${IPCLLD_ROOTPATH} + + for board in ${TI_PDK_LIMIT_BOARDS} + do + # make the release package before building it + oe_runmake package BOARD=$board DEST_ROOT=${IPCLLD_PACKAGE_BASE} PDK_IPC_COMP_PATH=${S} + done + +} + +do_compile() { + cd ${IPCLLD_ROOTPATH} + + oe_runmake lib LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" PDK_IPC_COMP_PATH=${IPCLLD_ROOTPATH} +} + +do_install() { + cd ${IPCLLD_ROOTPATH} + + #remove prebuilt binaries + rm -rf examples/echo_test/binaries + + #archive + tar -cf ipc-lld.tar --exclude='*.tar' ./* + + install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/ipc + find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/ipc \; +} + +FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages" + +INSANE_SKIP_${PN} = "arch ldflags file-rdeps" + +INSANE_SKIP_${PN}-dbg = "arch" |