1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 01:20:20 +00:00
Files
meta-ti/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples_git.bb
Denys Dmytriyenko 37ef6ae6fe meta-ti: move BIOS,XDC,XDAIS, CGT,DSP libs and components to meta-ti-extras
Legacy platforms AM3/4/5/J6 build components for multimedia acceleration and
other DSP showcasing using SYS/BIOS, XDC, XDAIS, CodeGen Tools and different
DSP libraries. Move all of them to meta-ti-extras.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:39 -06:00

45 lines
1.7 KiB
BlitzBasic

DESCRIPTION = "TI Inter Process Communication (IPC) examples with Host running linux"
require ti-ipc-examples.inc
DEPENDS = "ti-ipc ti-xdctools-native ti-sysbios ti-ipc-rtos zip-native"
do_compile:append() {
if [ "${PLATFORM}" != "UNKNOWN" ]; then
oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
for alt_platform in ${ALT_PLATFORM}; do
oe_runmake extract PLATFORM="${alt_platform}" HOSTOS="bios" \
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
done
oe_runmake -C examples all HOSTOS="bios" \
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
for alt_platform in ${ALT_PLATFORM}; do
oe_runmake -C examples all HOSTOS="bios" \
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" PLATFORM="${alt_platform}"
done
fi
}
do_install:append() {
if [ "${PLATFORM}" != "UNKNOWN" ]; then
# Install directory for bios examples
install -d ${D}/ipc_${IPC_VERSION}/examples/bios
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios"
oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios"
for alt_platform in ${ALT_PLATFORM}; do
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/${alt_platform}/bios" \
PLATFORM="${alt_platform}"
oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/${alt_platform}/bios" \
PLATFORM="${alt_platform}"
done
fi
}
FILES:${PN} += "ipc_*"