DTC_FLAGS and DT_INCLUDE should only be defined within the context of the
layer providing the device tree components.  It is obsolete in the generic
case.

Spit the COMPATIBLE_HOST, xilinx-freertos belongs in the SDT layer.

Signed-off-by: Mark Hatle <[email protected]>
---
 .../recipes-bsp/device-tree.bbappend                       | 1 +
 .../recipes-bsp/device-tree/device-tree.bbappend           | 7 -------
 2 files changed, 1 insertion(+), 7 deletions(-)
 create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend

diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend 
b/meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend
new file mode 100644
index 00000000..449a69c8
--- /dev/null
+++ b/meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend
@@ -0,0 +1 @@
+COMPATIBLE_HOST:xilinx-freertos = "${HOST_SYS}"
diff --git 
a/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend 
b/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend
index 511d12ef..3fc7a89f 100644
--- a/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend
+++ b/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend
@@ -1,8 +1 @@
 COMPATIBLE_HOST:xilinx-standalone = "${HOST_SYS}"
-COMPATIBLE_HOST:xilinx-freertos = "${HOST_SYS}"
-
-# Enable @ flag on dtc which is required by libxil
-DTC_FLAGS:append:xilinx-standalone = " -@"
-DT_INCLUDE:append:xilinx-standalone = " 
${UNPACKDIR}/git/device_tree/data/kernel_dtsi/${XILINX_RELEASE_VERSION}/include/"
-DTC_FLAGS:append:xilinx-freertos = " -@"
-DT_INCLUDE:append:xilinx-freertos = " 
${UNPACKDIR}/git/device_tree/data/kernel_dtsi/${XILINX_RELEASE_VERSION}/include/"
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5388): 
https://lists.yoctoproject.org/g/meta-xilinx/message/5388
Mute This Topic: https://lists.yoctoproject.org/mt/106609978/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to