Makefile (97a6f43bb049e64b9913c50c7530e13d78e205d4) | Makefile (84b04d3e6bdbc7551e62b75dd97cae4a8bddb1b6) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2# Copyright 2022 Google LLC 3 4KBUILD_CFLAGS := $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) -fpie \ 5 -Os -DDISABLE_BRANCH_PROFILING $(DISABLE_STACKLEAK_PLUGIN) \ 6 $(DISABLE_LATENT_ENTROPY_PLUGIN) \ 7 $(call cc-option,-mbranch-protection=none) \ 8 -I$(srctree)/scripts/dtc/libfdt -fno-stack-protector \ 9 -include $(srctree)/include/linux/hidden.h \ 10 -D__DISABLE_EXPORTS -ffreestanding -D__NO_FORTIFY \ 11 -fno-asynchronous-unwind-tables -fno-unwind-tables \ 12 $(call cc-option,-fno-addrsig) 13 | 1# SPDX-License-Identifier: GPL-2.0 2# Copyright 2022 Google LLC 3 4KBUILD_CFLAGS := $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) -fpie \ 5 -Os -DDISABLE_BRANCH_PROFILING $(DISABLE_STACKLEAK_PLUGIN) \ 6 $(DISABLE_LATENT_ENTROPY_PLUGIN) \ 7 $(call cc-option,-mbranch-protection=none) \ 8 -I$(srctree)/scripts/dtc/libfdt -fno-stack-protector \ 9 -include $(srctree)/include/linux/hidden.h \ 10 -D__DISABLE_EXPORTS -ffreestanding -D__NO_FORTIFY \ 11 -fno-asynchronous-unwind-tables -fno-unwind-tables \ 12 $(call cc-option,-fno-addrsig) 13 |
14# this code may run with the MMU off so disable unaligned accesses 15CFLAGS_map_range.o += -mstrict-align 16 |
|
14# remove SCS flags from all objects in this directory 15KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_SCS), $(KBUILD_CFLAGS)) 16# disable LTO 17KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_LTO), $(KBUILD_CFLAGS)) 18 19GCOV_PROFILE := n 20KASAN_SANITIZE := n 21KCSAN_SANITIZE := n --- 26 unchanged lines hidden --- | 17# remove SCS flags from all objects in this directory 18KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_SCS), $(KBUILD_CFLAGS)) 19# disable LTO 20KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_LTO), $(KBUILD_CFLAGS)) 21 22GCOV_PROFILE := n 23KASAN_SANITIZE := n 24KCSAN_SANITIZE := n --- 26 unchanged lines hidden --- |