tensorflow-lite-ethosu-delegate: Fix configure error on Styhead [YOCIMX-8496]

Replace WORKDIR with UNPACKDIR in -DFETCHCONTENT_SOURCE_DIR_TENSORFLOW setting,
as default unpack path is changed in Yocto 5.1 Styhead.

Signed-off-by: Jun Zhu <junzhu@nxp.com>
This commit is contained in:
Jun Zhu 2024-11-07 17:57:20 +08:00
parent 579b112867
commit c5c4678071

View File

@ -24,7 +24,7 @@ inherit python3native cmake
EXTRA_OECMAKE = "-DCMAKE_SYSROOT=${PKG_CONFIG_SYSROOT_DIR}"
EXTRA_OECMAKE += " \
-DFETCHCONTENT_FULLY_DISCONNECTED=OFF \
-DFETCHCONTENT_SOURCE_DIR_TENSORFLOW=${WORKDIR}/tfgit \
-DFETCHCONTENT_SOURCE_DIR_TENSORFLOW=${UNPACKDIR}/tfgit \
-DTFLITE_LIB_LOC=${STAGING_DIR_HOST}${libdir}/libtensorflow-lite.so \
${S} \
"