mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
Recently individual components and LLD sources have been combined into a single PDK repo. Use this class to specify the common source. Also use this class to keep the sources separate from each other when building. This keeps the build identical to previous recipes while keeping control on interdependencies. Similar to gcc-source, use the ti-pdk-source recipe to unpack the sources into a "work-shared" area. Then hard-link only the necessary files into a recipe's WORKDIR. Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
34 lines
879 B
BlitzBasic
34 lines
879 B
BlitzBasic
# Recipe to fetch/unpack sources used by ti-pdk-fetch recipes.
|
|
#
|
|
# Mimic gcc-source.inc from oe-core.
|
|
|
|
# These shources will be unpacked to a "work-shared" directory. Then each
|
|
# "ti-pdk-fetch" recipe will hard-link only the sources it requires.
|
|
|
|
deltask do_configure
|
|
deltask do_compile
|
|
deltask do_install
|
|
deltask do_populate_sysroot
|
|
deltask do_populate_lic
|
|
|
|
RM_WORK_EXCLUDE += "${PN}"
|
|
EXCLUDE_FROM_WORLD = "1"
|
|
|
|
inherit nopackages ti-pdk-fetch
|
|
|
|
LICENSE = "BSD-3-Clause"
|
|
|
|
PN = "${TI_PDK_SOURCE_PN}"
|
|
WORKDIR = "${TI_PDK_SOURCE_WORKDIR}"
|
|
SSTATE_SWSPEC = "sstate:ti-pdk::${PV}:${PR}::${SSTATE_VERSION}:"
|
|
|
|
STAMP = "${STAMPS_DIR}/work-shared/ti-pdk-${PV}"
|
|
STAMPCLEAN = "${STAMPS_DIR}/work-shared/ti-pdk-${PV}*"
|
|
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
DEPENDS = ""
|
|
PACKAGES = ""
|
|
|
|
SRC_URI = "${TI_PDK_GIT_URI};branch=${TI_PDK_GIT_BRANCH};protocol=${TI_PDK_GIT_PROTOCOL}"
|
|
SRCREV = "${TI_PDK_SRCREV}"
|