summaryrefslogtreecommitdiffstats
path: root/Kbuild-Add-an-option-to-enable-GCC-VTA.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2019-07-29 09:00:59 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2019-07-29 09:00:59 -0500
commit324e5988f1670b5766660b144cabc810b8ee954f (patch)
treec19d02e63b196050c53d806228d5835840322866 /Kbuild-Add-an-option-to-enable-GCC-VTA.patch
parente157d674592ba2908fc2f2d2fab7b0f49959438e (diff)
downloadkernel-324e5988f1670b5766660b144cabc810b8ee954f.tar.gz
kernel-324e5988f1670b5766660b144cabc810b8ee954f.tar.xz
kernel-324e5988f1670b5766660b144cabc810b8ee954f.zip
Linux v5.2.4 Rebase
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