diff options
-rw-r--r-- | debian/patches/debian/kernelvariables.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches/debian/kernelvariables.patch b/debian/patches/debian/kernelvariables.patch index a10a95361..a98f76c75 100644 --- a/debian/patches/debian/kernelvariables.patch +++ b/debian/patches/debian/kernelvariables.patch @@ -14,7 +14,7 @@ use of $(ARCH) needs to be moved after this. --- a/Makefile +++ b/Makefile -@@ -195,42 +195,6 @@ export KBUILD_BUILDHOST := $(SUBARCH) +@@ -255,42 +255,6 @@ SUBARCH := $(shell uname -m | sed -e s/i ARCH ?= $(SUBARCH) CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%) @@ -57,9 +57,9 @@ use of $(ARCH) needs to be moved after this. KCONFIG_CONFIG ?= .config export KCONFIG_CONFIG -@@ -349,6 +313,44 @@ CFLAGS_KERNEL = - AFLAGS_KERNEL = - CFLAGS_GCOV = -fprofile-arcs -ftest-coverage +@@ -373,6 +337,44 @@ LDFLAGS_vmlinux = + CFLAGS_GCOV = -fprofile-arcs -ftest-coverage -fno-tree-loop-im + CFLAGS_KCOV := $(call cc-option,-fsanitize-coverage=trace-pc,) +-include $(obj)/.kernelvariables + |