diff mbox series

[master,12/12] linux-bb.org_6.6: disable FORTIFY_SOURCE for now

Message ID 20241213233203.2688541-12-denis@denix.org
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [master,01/12] conf/machine: rename beagleplay machine to beagleplay-ti | expand

Commit Message

Denys Dmytriyenko Dec. 13, 2024, 11:32 p.m. UTC
From: Denys Dmytriyenko <denys@konsulko.com>

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 <denys@konsulko.com>
---
New patch since RFC v2

 .../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 mbox series

Patch

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..c50802e4 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 += "${UNPACKDIR}/no-fortify.cfg"