mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
ti-ipc: Update to new version 3.47.02.00
Adds new example for AM571X Signed-off-by: Sam Nelson <sam.nelson@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
committed by
Denys Dmytriyenko
parent
12e2064557
commit
dd8400c121
@@ -1,5 +1,5 @@
|
||||
PV = "3.47.01.00"
|
||||
INC_PR = "r1"
|
||||
PV = "3.47.02.00"
|
||||
INC_PR = "r0"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
@@ -15,3 +15,4 @@ PLATFORM_c667x-evm = "C6678"
|
||||
PLATFORM_c665x-evm = "C6678"
|
||||
|
||||
ALT_PLATFORM_k2hk = "TCI6636"
|
||||
ALT_PLATFORM_am57xx-evm = "AM572X AM571X"
|
||||
|
||||
@@ -17,10 +17,10 @@ do_compile() {
|
||||
oe_runmake .examples \
|
||||
IPCTOOLS="${S_ipc-metadata}/src/etc"
|
||||
|
||||
if [ ! -z ${ALT_PLATFORM} ]; then
|
||||
oe_runmake .examples "PLATFORM=${ALT_PLATFORM}" \
|
||||
for alt_platform in ${ALT_PLATFORM}; do
|
||||
oe_runmake .examples "PLATFORM=${alt_platform}" \
|
||||
IPCTOOLS="${S_ipc-metadata}/src/etc"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
||||
@@ -8,16 +8,16 @@ do_compile_append() {
|
||||
if [ "${PLATFORM}" != "UNKNOWN" ]; then
|
||||
oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
|
||||
|
||||
if [ ! -z ${ALT_PLATFORM} ]; then
|
||||
oe_runmake extract PLATFORM="${ALT_PLATFORM}" HOSTOS="bios" \
|
||||
for alt_platform in ${ALT_PLATFORM}; do
|
||||
oe_runmake extract PLATFORM="${alt_platform}" HOSTOS="bios" \
|
||||
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
|
||||
fi
|
||||
done
|
||||
oe_runmake -C examples all HOSTOS="bios" \
|
||||
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
|
||||
if [ ! -z ${ALT_PLATFORM} ]; then
|
||||
for alt_platform in ${ALT_PLATFORM}; do
|
||||
oe_runmake -C examples all HOSTOS="bios" \
|
||||
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" PLATFORM="${ALT_PLATFORM}"
|
||||
fi
|
||||
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" PLATFORM="${alt_platform}"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -30,14 +30,14 @@ do_install_append() {
|
||||
oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
|
||||
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios"
|
||||
|
||||
if [ ! -z ${ALT_PLATFORM} ]; then
|
||||
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/bios" \
|
||||
PLATFORM="${ALT_PLATFORM}"
|
||||
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/bios" \
|
||||
PLATFORM="${ALT_PLATFORM}"
|
||||
fi
|
||||
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/${alt_platform}/bios" \
|
||||
PLATFORM="${alt_platform}"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -24,11 +24,11 @@ protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\
|
||||
branch=${TI_IPC_METADATA_GIT_BRANCH};\
|
||||
name=${TI_IPC_METADATA_NAME}"
|
||||
|
||||
# Corresponds to tag: 3.47.01.00B
|
||||
SRCREV_ipc-examples = "03ff856444b5bb9e60a907125a1f042b29b25d7b"
|
||||
# Corresponds to tag: 3.47.02.00
|
||||
SRCREV_ipc-metadata = "e8aff83111b8a0d64d7a77413b6f66d3106084d8"
|
||||
|
||||
# Corresponds to tag: 3.47.01.00A
|
||||
SRCREV_ipc-metadata = "72578cce9c9f9a932eb22b3397b46131efb12d69"
|
||||
# Corresponds to tag: 3.47.02.00
|
||||
SRCREV_ipc-examples = "351e9a6d94c68f7ff64b2c002ee6750242ece6d9"
|
||||
|
||||
S_ipc-examples = "${WORKDIR}/git/ipc-examples"
|
||||
S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
|
||||
@@ -36,7 +36,7 @@ S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
|
||||
RELEASE_TYPE = "GA"
|
||||
RELEASE_SUFFIX = ""
|
||||
|
||||
PR = "${INC_PR}.r5"
|
||||
PR = "${INC_PR}.r0"
|
||||
|
||||
DEPENDS_append_keystone = " ti-cgt6x-native \
|
||||
gcc-arm-none-eabi-native \
|
||||
|
||||
@@ -27,20 +27,20 @@ do_compile() {
|
||||
cd ${S_ipc-examples}/src
|
||||
oe_runmake .examples \
|
||||
IPCTOOLS="${S_ipc-metadata}/src/etc"
|
||||
if [ ! -z ${ALT_PLATFORM} ]; then
|
||||
for alt_platform in ${ALT_PLATFORM}; do
|
||||
oe_runmake .examples \
|
||||
IPCTOOLS="${S_ipc-metadata}/src/etc" \
|
||||
PLATFORM=${ALT_PLATFORM}
|
||||
fi
|
||||
PLATFORM=${alt_platform}
|
||||
done
|
||||
|
||||
if [ "${PLATFORM}" != "UNKNOWN" ]; then
|
||||
oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${S}"
|
||||
oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${S}"
|
||||
|
||||
if [ ! -z ${ALT_PLATFORM} ]; then
|
||||
oe_runmake extract PLATFORM=${ALT_PLATFORM} HOSTOS="bios" IPC_INSTALL_DIR="${S}"
|
||||
oe_runmake extract PLATFORM=${ALT_PLATFORM} HOSTOS="linux" IPC_INSTALL_DIR="${S}"
|
||||
fi
|
||||
for alt_platform in ${ALT_PLATFORM}; do
|
||||
oe_runmake extract PLATFORM=${alt_platform} HOSTOS="bios" IPC_INSTALL_DIR="${S}"
|
||||
oe_runmake extract PLATFORM=${alt_platform} HOSTOS="linux" IPC_INSTALL_DIR="${S}"
|
||||
done
|
||||
fi
|
||||
|
||||
IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'`
|
||||
@@ -54,9 +54,9 @@ do_compile() {
|
||||
cp -pPf ${S_ipc-examples}/src/examples/*.* ${IPC_PACKAGE_DIR}/examples/
|
||||
cp -pPf ${S_ipc-examples}/src/examples/makefile ${IPC_PACKAGE_DIR}/examples/
|
||||
cp -pPrf ${S_ipc-examples}/src/examples/${PLATFORM}* ${IPC_PACKAGE_DIR}/examples/
|
||||
if [ ! -z ${ALT_PLATFORM} ]; then
|
||||
cp -pPrf ${S_ipc-examples}/src/examples/${ALT_PLATFORM}* ${IPC_PACKAGE_DIR}/examples/
|
||||
fi
|
||||
for alt_platform in ${ALT_PLATFORM}; do
|
||||
cp -pPrf ${S_ipc-examples}/src/examples/${alt_platform}* ${IPC_PACKAGE_DIR}/examples/
|
||||
done
|
||||
find ${IPC_PACKAGE_DIR}/examples/ -name "*zip" -type f | xargs -I {} rm {}
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -8,8 +8,8 @@ TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git"
|
||||
TI_IPC_GIT_PROTOCOL = "git"
|
||||
TI_IPC_GIT_BRANCH = "3.47"
|
||||
|
||||
#Corresponds to 3.47.01.00
|
||||
TI_IPC_SRCREV = "6a2595a4148fb12f259efc19164a9d33ad2ed294"
|
||||
#Corresponds to 3.47.02.00
|
||||
TI_IPC_SRCREV = "24c36385d096613af123d1e1696fb2fee652ef36"
|
||||
|
||||
BRANCH = "${TI_IPC_GIT_BRANCH}"
|
||||
SRC_URI = "${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH};name=ipcdev"
|
||||
|
||||
Reference in New Issue
Block a user