summaryrefslogtreecommitdiffstats
path: root/Kbuild-Add-an-option-to-enable-GCC-VTA.patch
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2019-07-30 15:58:40 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2019-07-30 15:58:40 +0200
commit45eb154cac7ade34eab691541ab9d9d4ce0ce484 (patch)
treebd383eb2a229aa03d5638ef201f823bed4939e10 /Kbuild-Add-an-option-to-enable-GCC-VTA.patch
parentea7d66d1957853081f8abd9d527d070076d23c20 (diff)
parent324e5988f1670b5766660b144cabc810b8ee954f (diff)
downloadkernel-45eb154cac7ade34eab691541ab9d9d4ce0ce484.tar.gz
kernel-45eb154cac7ade34eab691541ab9d9d4ce0ce484.tar.xz
kernel-45eb154cac7ade34eab691541ab9d9d4ce0ce484.zip
Diffstat (limited to 'Kbuild-Add-an-option-to-enable-GCC-VTA.patch')
-rw-r--r--Kbuild-Add-an-option-to-enable-GCC-VTA.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kbuild-Add-an-option-to-enable-GCC-VTA.patch b/Kbuild-Add-an-option-to-enable-GCC-VTA.patch
index 608d789dd..6bbb0efdf 100644
--- a/Kbuild-Add-an-option-to-enable-GCC-VTA.patch
+++ b/Kbuild-Add-an-option-to-enable-GCC-VTA.patch
@@ -49,11 +49,11 @@ index 9ef547fc7ffe..5777d902f8f3 100644
--- a/Makefile
+++ b/Makefile
@@ -735,7 +735,11 @@ KBUILD_CFLAGS += -fomit-frame-pointer
- endif
+ KBUILD_CFLAGS += -ftrivial-auto-var-init=pattern
endif
+ifdef CONFIG_DEBUG_INFO_VTA
-+DEBUG_CFLAGS += $(call cc-option, -fvar-tracking-assignments)
++DEBUG_CFLAGS += $(call cc-option, -fvar-tracking-assignments)
+else
DEBUG_CFLAGS := $(call cc-option, -fno-var-tracking-assignments)
+endif
@@ -87,8 +87,8 @@ index 0d9e81779e37..424206212931 100644
+ environment to automatically compile everything both ways,
+ generating an error if anything differs.
- config GDB_SCRIPTS
- bool "Provide GDB scripts for kernel debugging"
+ config DEBUG_INFO_BTF
+ bool "Generate BTF typeinfo"
--
2.20.1