From: Denys Dmytriyenko <[email protected]>

Rogue graphics driver 24.1 currently fails to build against the kernel
that enables FORTIFY_SOURCE, such as bb.org. Disable this config for now,
until the driver is fixed.

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 .../recipes-kernel/linux/linux-bb.org-6.6/no-fortify.cfg       | 1 +
 meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb           | 3 +++
 2 files changed, 4 insertions(+)
 create mode 100644 
meta-beagle/recipes-kernel/linux/linux-bb.org-6.6/no-fortify.cfg

diff --git a/meta-beagle/recipes-kernel/linux/linux-bb.org-6.6/no-fortify.cfg 
b/meta-beagle/recipes-kernel/linux/linux-bb.org-6.6/no-fortify.cfg
new file mode 100644
index 00000000..808f9519
--- /dev/null
+++ b/meta-beagle/recipes-kernel/linux/linux-bb.org-6.6/no-fortify.cfg
@@ -0,0 +1 @@
+CONFIG_FORTIFY_SOURCE=n
diff --git a/meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb 
b/meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb
index bf8f8a24..056142d9 100644
--- a/meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb
+++ b/meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb
@@ -66,3 +66,6 @@ PV:aarch64 = "6.6.58+git"
 BRANCH:aarch64 = "v6.6.58-ti-arm64-r16"
 
 KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"
+
+SRC_URI += "file://no-fortify.cfg"
+KERNEL_CONFIG_FRAGMENTS += "${WORKDIR}/no-fortify.cfg"
-- 
2.25.1

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

Reply via email to