From: Parth Gajjar <[email protected]>

Added: 0029-Fixed-buildpath-QA-warning.patch
Resolved buildpath QA warning

Signed-off-by: Parth Gajjar <[email protected]>

Sync fix to all recipe version

Signed-off-by: Mark Hatle <[email protected]>
---
 .../0029-Fixed-buildpath-QA-warning.patch     | 29 +++++++++++++++++++
 .../mali/kernel-module-mali_2022.1.bb         |  1 +
 .../mali/kernel-module-mali_2022.2.bb         |  1 +
 .../mali/kernel-module-mali_2023.1.bb         |  1 +
 .../mali/kernel-module-mali_2023.2.bb         |  1 +
 5 files changed, 33 insertions(+)
 create mode 100644 
meta-xilinx-core/recipes-graphics/mali/kernel-module-mali/0029-Fixed-buildpath-QA-warning.patch

diff --git 
a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali/0029-Fixed-buildpath-QA-warning.patch
 
b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali/0029-Fixed-buildpath-QA-warning.patch
new file mode 100644
index 00000000..a3ddafed
--- /dev/null
+++ 
b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali/0029-Fixed-buildpath-QA-warning.patch
@@ -0,0 +1,29 @@
+From 7659ba2e251b72aa3c248d3b1f3a23971180ba41 Mon Sep 17 00:00:00 2001
+From: Parth Gajjar <[email protected]>
+Date: Mon, 18 Mar 2024 13:43:30 +0000
+Subject: [PATCH] Fixed buildpath QA warning
+
+Removed KDIR from buildinfo
+WARNING: kernel-module-mali-r9p0-01rel0-r0 do_package_qa:
+QA Issue: File /lib/modules/6.6.10-xilinx-v2024.1-g2c37bbe14ced/updates/mali.ko
+ in package kernel-module-mali-6.6.10-xilinx-v2024.1-g2c37bbe14ced contains
+ reference to TMPDIR [buildpaths]" from the log file.
+
+Signed-off-by: Parth Gajjar <[email protected]>
+
+diff --git a/Kbuild b/Kbuild
+index 8c6e6e0..2b8632b 100644
+--- a/Kbuild
++++ b/Kbuild
+@@ -243,7 +243,7 @@ VERSION_STRINGS += BUILD=release
+ endif
+ VERSION_STRINGS += TARGET_PLATFORM=$(TARGET_PLATFORM)
+ VERSION_STRINGS += MALI_PLATFORM=$(MALI_PLATFORM)
+-VERSION_STRINGS += KDIR=$(KDIR)
++#VERSION_STRINGS += KDIR=$(KDIR)
+ VERSION_STRINGS += 
OS_MEMORY_KERNEL_BUFFER_SIZE_IN_MB=$(OS_MEMORY_KERNEL_BUFFER_SIZE_IN_MB)
+ VERSION_STRINGS += USING_UMP=$(CONFIG_MALI400_UMP)
+ VERSION_STRINGS += USING_PROFILING=$(CONFIG_MALI400_PROFILING)
+-- 
+2.37.6
+
diff --git 
a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2022.1.bb 
b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2022.1.bb
index 9f17d744..72bd7759 100644
--- a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2022.1.bb
+++ b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2022.1.bb
@@ -36,6 +36,7 @@ SRC_URI = " \
        file://0026-Fix-gpu-driver-probe-failure.patch \
        file://0027-Updated-clock-name-and-structure-to-match-LIMA-drive.patch \
        file://0028-Replace-vma-vm_flags-direct-modifications-with-modif.patch \
+       file://0029-Fixed-buildpath-QA-warning.patch \
        "
 SRC_URI[md5sum] = "85ea110dd6675c70b7d01af87ec9633c"
 SRC_URI[sha256sum] = 
"7a67127341d17640c1fff5dad80258fb2a37c8a2121b81525fe2327e4532ce2b"
diff --git 
a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2022.2.bb 
b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2022.2.bb
index 9f17d744..72bd7759 100644
--- a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2022.2.bb
+++ b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2022.2.bb
@@ -36,6 +36,7 @@ SRC_URI = " \
        file://0026-Fix-gpu-driver-probe-failure.patch \
        file://0027-Updated-clock-name-and-structure-to-match-LIMA-drive.patch \
        file://0028-Replace-vma-vm_flags-direct-modifications-with-modif.patch \
+       file://0029-Fixed-buildpath-QA-warning.patch \
        "
 SRC_URI[md5sum] = "85ea110dd6675c70b7d01af87ec9633c"
 SRC_URI[sha256sum] = 
"7a67127341d17640c1fff5dad80258fb2a37c8a2121b81525fe2327e4532ce2b"
diff --git 
a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2023.1.bb 
b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2023.1.bb
index 9f17d744..72bd7759 100644
--- a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2023.1.bb
+++ b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2023.1.bb
@@ -36,6 +36,7 @@ SRC_URI = " \
        file://0026-Fix-gpu-driver-probe-failure.patch \
        file://0027-Updated-clock-name-and-structure-to-match-LIMA-drive.patch \
        file://0028-Replace-vma-vm_flags-direct-modifications-with-modif.patch \
+       file://0029-Fixed-buildpath-QA-warning.patch \
        "
 SRC_URI[md5sum] = "85ea110dd6675c70b7d01af87ec9633c"
 SRC_URI[sha256sum] = 
"7a67127341d17640c1fff5dad80258fb2a37c8a2121b81525fe2327e4532ce2b"
diff --git 
a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2023.2.bb 
b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2023.2.bb
index 9f17d744..72bd7759 100644
--- a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2023.2.bb
+++ b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali_2023.2.bb
@@ -36,6 +36,7 @@ SRC_URI = " \
        file://0026-Fix-gpu-driver-probe-failure.patch \
        file://0027-Updated-clock-name-and-structure-to-match-LIMA-drive.patch \
        file://0028-Replace-vma-vm_flags-direct-modifications-with-modif.patch \
+       file://0029-Fixed-buildpath-QA-warning.patch \
        "
 SRC_URI[md5sum] = "85ea110dd6675c70b7d01af87ec9633c"
 SRC_URI[sha256sum] = 
"7a67127341d17640c1fff5dad80258fb2a37c8a2121b81525fe2327e4532ce2b"
-- 
2.34.1

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

Reply via email to