--- zzzz-none-000/linux-4.4.60/arch/arm/boot/compressed/Makefile 2017-04-08 07:53:53.000000000 +0000 +++ scorpion-7490-727/linux-4.4.60/arch/arm/boot/compressed/Makefile 2021-02-04 17:41:59.000000000 +0000 @@ -23,6 +23,7 @@ endif GCOV_PROFILE := n +KASAN_SANITIZE := n # # Architecture dependencies @@ -105,6 +106,7 @@ ORIG_CFLAGS := $(KBUILD_CFLAGS) KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS)) endif +KBUILD_CFLAGS_KERNEL := $(patsubst -f%-sections,,$(KBUILD_CFLAGS_KERNEL)) ccflags-y := -fpic -mno-single-pic-base -fno-builtin -I$(obj) asflags-y := -DZIMAGE