Hi,
Hoping to get some help with an issue I have been having with DEPENDS. I'm sure I am missing something obvious, but I can't seem to figure out what is going on. Essentially, I have two recipes, I will call them recipe A and recipe B; recipe A has a build
time dependency on recipe B. To troubleshoot the issue, I've reduced recipe A and B to very contrived examples, but the issue still persists.
Below is recipe B:
SUMMARY = "TI ARM-CGT-CLANG compiler tools"HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm"LICENSE = "CLOSED"
BBCLASSEXTEND = "native nativesdk"
# I don't believe I need this... but just in case
SYSROOT_DIRS_NATIVE += " \
/usr/share/ti \
/usr
"
FILES:${PN} += " \/usr \"
do_install() {
install -d ${D}/usr/share/ti
install -d ${D}/usr/
echo test > ${S}/test.txtecho test2 > ${S}/test2.txt
install -m 0755 ${S}/test.txt ${D}/usr/share/tiinstall -m 0755 ${S}/test2.txt ${D}/usr
Below is recipe A:}
INHIBIT_PACKAGE_STRIP = "1"INHIBIT_SYSROOT_STRIP = "1"INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
My understanding is that adding the DEPENDS = "ti-cgt-armllvm-native" should install all files installed by ti-cgt-armllvm (recipe B) into the STAGING_DIR_NATIVE directory of recipe A; however, this is not occurring as there is no 'recipe-sysroot-native/usr/test2.txt' or 'recipe-sysroot-native/usr/share/ti/test.txt' file in recipe A staging directory.SUMMARY = "TI MCU+ SDK for AM263Px"HOMEPAGE = "https://www.ti.com/tool/MCU-PLUS-SDK-AM263PX"LICENSE = "CLOSED"
BBCLASSEXTEND = "nativesdk native"
DEPENDS = " \ti-cgt-armllvm-native \ ### RECIPE B ###
sysconfig-native \"
FILES:${PN} += " \/usr/share \"
do_install() {install -d ${D}/usr/sharecp -r ${STAGING_DIR_NATIVE}/. ${D}/usr/share
}
tmp-aec/sysroots-components/x86_64/ti-cgt-armllvm-native/└── sysroot-providers└── ti-cgt-armllvm-native