Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
123
sources/meta-ti/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb
Normal file
123
sources/meta-ti/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb
Normal file
@@ -0,0 +1,123 @@
|
||||
require recipes-ti/ipc/ti-ipc.inc
|
||||
require recipes-ti/ipc/ti-ipc-common.inc
|
||||
require ti-ipc-rtos.inc
|
||||
|
||||
inherit deploy
|
||||
inherit update-alternatives
|
||||
|
||||
DEPENDS = "ti-xdctools-native ti-sysbios doxygen-native zip-native"
|
||||
|
||||
PACKAGES =+ "${PN}-fw"
|
||||
FILES:${PN}-fw = "${nonarch_base_libdir}/firmware/*"
|
||||
FILES:${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}"
|
||||
|
||||
INSANE_SKIP:${PN}-fw += "arch"
|
||||
INSANE_SKIP:${PN}-dev += "arch"
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
IPC_PACKAGE_DIR = "${S}/ipc-package"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake -f ipc-bios.mak clean
|
||||
oe_runmake -f ipc-bios.mak release
|
||||
|
||||
cd ${S_ipc-metadata}
|
||||
oe_runmake .all-files IPC_INSTALL_DIR="${S}" \
|
||||
BUILD_HOST_OS="linux" \
|
||||
RELEASE_TYPE="${RELEASE_TYPE}"
|
||||
|
||||
cd ${S_ipc-examples}/src
|
||||
oe_runmake .examples \
|
||||
IPCTOOLS="${S_ipc-metadata}/src/etc"
|
||||
for alt_platform in ${ALT_PLATFORM}; do
|
||||
oe_runmake .examples \
|
||||
IPCTOOLS="${S_ipc-metadata}/src/etc" \
|
||||
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}"
|
||||
|
||||
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'`
|
||||
install -d ${IPC_PACKAGE_DIR}
|
||||
# Copy docs and other meta files
|
||||
cp -pPrf ${S_ipc-metadata}/exports/ipc_${IPC_VERSION}/* -d ${IPC_PACKAGE_DIR}
|
||||
|
||||
# Copy example folders corresponding to the platforms
|
||||
if [ "${PLATFORM}" != "UNKNOWN" ]; then
|
||||
install -d ${IPC_PACKAGE_DIR}/examples
|
||||
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/
|
||||
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
|
||||
}
|
||||
|
||||
do_install() {
|
||||
CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
|
||||
IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'`
|
||||
# Copy docs and other meta files
|
||||
install -d ${D}${IPC_INSTALL_DIR_RECIPE}
|
||||
cp ${CP_ARGS} ${IPC_PACKAGE_DIR}/* -d ${D}${IPC_INSTALL_DIR_RECIPE}
|
||||
|
||||
install -d ${D}${nonarch_base_libdir}/firmware/ipc
|
||||
cp ${CP_ARGS} ${S}/packages/ti/ipc/tests/bin/* ${D}${nonarch_base_libdir}/firmware/ipc || true
|
||||
}
|
||||
|
||||
KFDSPNUM = "0"
|
||||
|
||||
KFPLAT = ""
|
||||
|
||||
ALTERNATIVE_PRIORITY = "5"
|
||||
|
||||
ALTERNATIVE:${PN}-fw:omapl138 = "rproc-dsp-fw"
|
||||
ALTERNATIVE:${PN}-fw:omap-a15 = "dra7-dsp1-fw.xe66 \
|
||||
dra7-dsp2-fw.xe66 \
|
||||
dra7-ipu1-fw.xem4 \
|
||||
dra7-ipu2-fw.xem4 \
|
||||
"
|
||||
|
||||
ALTERNATIVE_LINK_NAME[rproc-dsp-fw] = "${nonarch_base_libdir}/firmware/rproc-dsp-fw"
|
||||
ALTERNATIVE_LINK_NAME[dra7-dsp1-fw.xe66] = "${nonarch_base_libdir}/firmware/dra7-dsp1-fw.xe66"
|
||||
ALTERNATIVE_LINK_NAME[dra7-dsp2-fw.xe66] = "${nonarch_base_libdir}/firmware/dra7-dsp2-fw.xe66"
|
||||
ALTERNATIVE_LINK_NAME[dra7-ipu1-fw.xem4] = "${nonarch_base_libdir}/firmware/dra7-ipu1-fw.xem4"
|
||||
ALTERNATIVE_LINK_NAME[dra7-ipu2-fw.xem4] = "${nonarch_base_libdir}/firmware/dra7-ipu2-fw.xem4"
|
||||
|
||||
ALTERNATIVE_TARGET[rproc-dsp-fw] = "${nonarch_base_libdir}/firmware/ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674"
|
||||
ALTERNATIVE_TARGET[dra7-dsp1-fw.xe66] = "${nonarch_base_libdir}/firmware/ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66"
|
||||
ALTERNATIVE_TARGET[dra7-dsp2-fw.xe66] = "${nonarch_base_libdir}/firmware/ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66"
|
||||
ALTERNATIVE_TARGET[dra7-ipu1-fw.xem4] = "${nonarch_base_libdir}/firmware/ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4"
|
||||
ALTERNATIVE_TARGET[dra7-ipu2-fw.xem4] = "${nonarch_base_libdir}/firmware/ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4"
|
||||
|
||||
do_deploy() {
|
||||
install -d ${DEPLOYDIR}
|
||||
}
|
||||
|
||||
do_deploy:append:omap-a15() {
|
||||
install -d ${DEPLOYDIR}/ipc
|
||||
install -m 0644 ${S}/packages/ti/ipc/tests/bin/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 ${DEPLOYDIR}/ipc/dra7-ipu1-fw.xem4
|
||||
}
|
||||
|
||||
addtask deploy after do_install
|
||||
|
||||
# Disable the "buildpaths" check while we figure out how we are
|
||||
# going to address this issue.
|
||||
#
|
||||
# The ti-cgt6x compiler is a custom TI compiler for the TI C6000
|
||||
# Digital Signal Processor(DSP) platform. It does not currently
|
||||
# support reproducible builds and is provided via a binary blob
|
||||
# download that we cannot patch in the recipe to address the
|
||||
# issue.
|
||||
INSANE_SKIP:${PN}-dev += "buildpaths"
|
||||
INSANE_SKIP:${PN}-fw += "buildpaths"
|
||||
Reference in New Issue
Block a user