summaryrefslogtreecommitdiffstats
path: root/Kbuild-Add-an-option-to-enable-GCC-VTA.patch
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2019-05-08 20:48:37 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2019-05-08 20:48:37 +0200
commit781a596b7becc8b47b66965568702a330605401b (patch)
treecf4826525a5c2462ad8cd80d42ff09ea5271a238 /Kbuild-Add-an-option-to-enable-GCC-VTA.patch
parent53ebc2e1e870d3a1a57b425f554162531ba66635 (diff)
parenta9602bb6e5ef5cf39d7873d7cf995bc2e239fc9c (diff)
downloadkernel-781a596b7becc8b47b66965568702a330605401b.tar.gz
kernel-781a596b7becc8b47b66965568702a330605401b.tar.xz
kernel-781a596b7becc8b47b66965568702a330605401b.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