On 2024-07-11 4:44 a.m., Kai Kang via lists.yoctoproject.org wrote:
From: Kai Kang <[email protected]>
Reset variablles S and UNPACKDIR in device-tree_xsct.inc to fix parse
error for recipe device-tree:
| bb.data_smart.ExpansionError: Failure expanding variable S, expression
was ${UNPACKDIR}/git which triggered exception RecursionError: maximum
recursion depth exceeded
| The variable dependency chain for the failure is: S -> UNPACKDIR -> S ->
UNPACKDIR -> S -> UNPACKDIR -> ...
And the value of UNPACKDIR is from devicetree.bbclass in oe-core.
B should NOT under ${UNPACKDIR} and set it in ${WORKDIR} as before.
Signed-off-by: Kai Kang <[email protected]>
Thanks for these patches - they're much-needed to get builds going.
However, unless I'm missing something, they don't actually indicate
which layer they apply to? The patch prefix suggests meta-xilinx but
both files are actually in meta-xilinx-tools.
---
recipes-bsp/device-tree/device-tree_xsct.inc | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/recipes-bsp/device-tree/device-tree_xsct.inc
b/recipes-bsp/device-tree/device-tree_xsct.inc
index 8bd8ecc..e594c3a 100644
--- a/recipes-bsp/device-tree/device-tree_xsct.inc
+++ b/recipes-bsp/device-tree/device-tree_xsct.inc
@@ -12,8 +12,9 @@ inherit xsctdt xsctyaml
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
-S = "${UNPACKDIR}/git"
-B = "${UNPACKDIR}/${BPN}-build"
+S = "${WORKDIR}/git"
+UNPACKDIR = "${WORKDIR}/sources"
+B = "${WORKDIR}/${BPN}-build"
DT_VERSION_EXTENSION ?= "xilinx-${XILINX_RELEASE_VERSION}"
PV = "${DT_VERSION_EXTENSION}+git"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5456):
https://lists.yoctoproject.org/g/meta-xilinx/message/5456
Mute This Topic: https://lists.yoctoproject.org/mt/107159316/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-