mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 11:42:57 +00:00
transport-rtos: migrate to ti-pdk-fetch.bbclass
* Add new recipe for timesync-rtos Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
committed by
Denys Dmytriyenko
parent
7db307f172
commit
1bb460f434
@@ -13,9 +13,7 @@ DEPENDS_append = " qmss-lld-rtos \
|
||||
cppi-lld-rtos \
|
||||
"
|
||||
|
||||
BMET_ETH_DESTSUFFIX = "git/bmet_eth"
|
||||
|
||||
S = "${WORKDIR}/${BMET_ETH_DESTSUFFIX}"
|
||||
TI_PDK_COMP = "ti.transport.bmet_eth"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "Baremetal Ethernet Transport"
|
||||
|
||||
@@ -17,13 +17,11 @@ DEPENDS_append_c665x-evm = " emac-lld-rtos"
|
||||
DEPENDS_append_c667x-evm = " pa-lld-rtos"
|
||||
DEPENDS_append_omapl1 = " emac-lld-rtos"
|
||||
|
||||
NIMU_ICSS_DESTSUFFIX = "git/ndk/nimu_icss"
|
||||
TI_PDK_COMP = "ti.transport.ndk.nimu_icss"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
S = "${WORKDIR}/${NIMU_ICSS_DESTSUFFIX}"
|
||||
|
||||
export PDK_NIMU_ICSS_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
|
||||
@@ -9,9 +9,7 @@ LIC_FILES_CHKSUM = "file://nimu_eth.h;beginline=1;endline=35;md5=ee9c662c39d4584
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1|k3"
|
||||
|
||||
NIMU_DESTSUFFIX = "git/ndk/nimu"
|
||||
|
||||
S = "${WORKDIR}/${NIMU_DESTSUFFIX}"
|
||||
TI_PDK_COMP = "ti.transport.ndk.nimu"
|
||||
|
||||
DEPENDS_append = " ti-ndk osal-rtos"
|
||||
DEPENDS_append_ti33x = " starterware-rtos emac-lld-rtos"
|
||||
|
||||
31
recipes-bsp/transport-rtos/timesync-rtos_git.bb
Normal file
31
recipes-bsp/transport-rtos/timesync-rtos_git.bb
Normal file
@@ -0,0 +1,31 @@
|
||||
SUMMARY = "RTOS driver for timesync driver"
|
||||
|
||||
inherit ti-pdk
|
||||
require recipes-bsp/transport-rtos/transport.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://timeSync_ver.h;beginline=23;endline=45;md5=4bd873035e47065aaa811e53622992e9"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g"
|
||||
|
||||
DEPENDS_append = " ti-ndk \
|
||||
osal-rtos \
|
||||
pruss-lld-rtos \
|
||||
icss-emac-lld-rtos \
|
||||
nimu-icss-rtos \
|
||||
edma3-lld-rtos \
|
||||
"
|
||||
|
||||
TI_PDK_COMP = "ti.transport.timeSync"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
export PDK_TIMESYNC_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
export NDK_INSTALL_PATH = "${NDK_INSTALL_DIR}"
|
||||
export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
|
||||
|
||||
XDCPATH_append = ";${NDK_INSTALL_DIR}/packages"
|
||||
@@ -2,16 +2,10 @@ LICENSE = "BSD-3-Clause"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
TRANSPORT_GIT_URI = "git://git.ti.com/keystone-rtos/transport.git"
|
||||
TRANSPORT_GIT_PROTOCOL = "git"
|
||||
TRANSPORT_GIT_BRANCH = "master"
|
||||
inherit ti-pdk-fetch
|
||||
|
||||
# Below commit ID corresponds to "DEV.TRANSPORT.01.00.00.17A"
|
||||
TRANSPORT_SRCREV = "9ed171c476a5606777d2dcb4e831c279a5160245"
|
||||
TI_PDK_COMP = "ti.transport"
|
||||
|
||||
BRANCH = "${TRANSPORT_GIT_BRANCH}"
|
||||
SRC_URI = "${TRANSPORT_GIT_URI};protocol=${TRANSPORT_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
PE = "1"
|
||||
|
||||
SRCREV = "${TRANSPORT_SRCREV}"
|
||||
PV = "01.00.00.17A"
|
||||
INC_PR = "r0"
|
||||
|
||||
Reference in New Issue
Block a user