From: John Toomey <[email protected]>

In upcoming 2024.1 version, the microblaze header will be obsolete and
removed.  Preemptively remove this from the shared microblaze file.

Signed-off-by: John Toomey <[email protected]>

Refactored for upstream master branch

Signed-off-by: Mark Hatle <[email protected]>
---
 meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc  | 6 ++++++
 .../recipes-bsp/u-boot/u-boot-xlnx-microblaze.inc           | 5 -----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc 
b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc
index a7b1c9dc..fba6fd22 100644
--- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc
+++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc
@@ -15,3 +15,9 @@ HAS_PLATFORM_INIT ?= " \
                "
 
 DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native"
+
+SRC_URI:append:microblaze = "file://microblaze-generic-top.h"
+
+do_configure:prepend:microblaze () {
+    install ${WORKDIR}/microblaze-generic-top.h ${S}/include/configs/
+}
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-microblaze.inc 
b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-microblaze.inc
index 2ef7b9cf..1f6781b6 100644
--- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-microblaze.inc
+++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-microblaze.inc
@@ -1,11 +1,6 @@
 SRC_URI += " \
     file://microblaze-generic.cfg \
-    file://microblaze-generic-top.h \
     "
 
-do_configure:prepend () {
-    install ${WORKDIR}/microblaze-generic-top.h ${S}/include/configs/
-}
-
 # Disable buildpaths QA check warnings for u-boot-xlnx.elf.
 INSANE_SKIP:${PN}-elf += "buildpaths"
-- 
2.34.1

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

Reply via email to