/kernel/linux/linux-5.10/scripts/ |
D | Makefile.extrawarn | 9 KBUILD_CFLAGS += $(call cc-disable-warning, packed-not-aligned) 25 KBUILD_CFLAGS += -Wextra -Wunused -Wno-unused-parameter 26 KBUILD_CFLAGS += -Wmissing-declarations 27 KBUILD_CFLAGS += -Wmissing-format-attribute 28 KBUILD_CFLAGS += -Wmissing-prototypes 29 KBUILD_CFLAGS += -Wold-style-definition 30 KBUILD_CFLAGS += -Wmissing-include-dirs 31 KBUILD_CFLAGS += $(call cc-option, -Wunused-but-set-variable) 32 KBUILD_CFLAGS += $(call cc-option, -Wunused-const-variable) 33 KBUILD_CFLAGS += $(call cc-option, -Wpacked-not-aligned) [all …]
|
/kernel/linux/linux-5.10/arch/nios2/ |
D | Makefile | 23 LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) $(KCFLAGS) -print-libgcc-file-name) 27 KBUILD_CFLAGS += -pipe -D__linux__ -D__ELF__ 28 KBUILD_CFLAGS += -march=r$(CONFIG_NIOS2_ARCH_REVISION) 29 KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_MUL_SUPPORT),-mhw-mul,-mno-hw-mul) 30 KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_MULX_SUPPORT),-mhw-mulx,-mno-hw-mulx) 31 KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_DIV_SUPPORT),-mhw-div,-mno-hw-div) 32 KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_BMX_SUPPORT),-mbmx,-mno-bmx) 33 KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_CDX_SUPPORT),-mcdx,-mno-cdx) 34 KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_FPU_SUPPORT),-mcustom-fpu-cfg=60-1,) 36 KBUILD_CFLAGS += -fno-optimize-sibling-calls [all …]
|
/kernel/linux/linux-5.10/arch/x86/ |
D | Makefile | 58 KBUILD_CFLAGS += -mno-sse -mno-mmx -mno-sse2 -mno-3dnow 59 KBUILD_CFLAGS += $(call cc-option,-mno-avx,) 62 KBUILD_CFLAGS += $(call cc-option,-fcf-protection=none) 71 KBUILD_CFLAGS += $(biarch) 73 KBUILD_CFLAGS += -msoft-float -mregparm=3 -freg-struct-return 77 KBUILD_CFLAGS += -fno-pic 82 KBUILD_CFLAGS += $(call cc-option,$(cc_stack_align4)) 86 KBUILD_CFLAGS += $(cflags-y) 89 KBUILD_CFLAGS += -ffreestanding 97 KBUILD_CFLAGS += -m64 [all …]
|
D | Makefile.um | 12 KBUILD_CFLAGS += $(call cc-option,-m32) 29 KBUILD_CFLAGS += $(cflags-y) 35 KBUILD_CFLAGS += -fno-builtin -m64
|
/kernel/linux/linux-5.10/arch/riscv/ |
D | Makefile | 26 KBUILD_CFLAGS += -mabi=lp64 34 KBUILD_CFLAGS += -mabi=ilp32 41 KBUILD_CFLAGS += -mno-relax 44 KBUILD_CFLAGS += -Wa,-mno-relax 61 KBUILD_CFLAGS += -march=$(subst fd,,$(riscv-march-y)) 64 KBUILD_CFLAGS += -mno-save-restore 65 KBUILD_CFLAGS += -DCONFIG_PAGE_OFFSET=$(CONFIG_PAGE_OFFSET) 68 KBUILD_CFLAGS += -mcmodel=medlow 71 KBUILD_CFLAGS += -mcmodel=medany 74 KBUILD_CFLAGS += -fno-omit-frame-pointer [all …]
|
/kernel/linux/linux-5.10/arch/x86/boot/compressed/ |
D | Makefile | 35 KBUILD_CFLAGS := -m$(BITS) -O2 $(CLANG_FLAGS) macro 36 KBUILD_CFLAGS += -fno-strict-aliasing -fPIE 37 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING 40 KBUILD_CFLAGS += $(cflags-y) 41 KBUILD_CFLAGS += -mno-mmx -mno-sse 42 KBUILD_CFLAGS += -ffreestanding 43 KBUILD_CFLAGS += -fno-stack-protector 44 KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member) 45 KBUILD_CFLAGS += $(call cc-disable-warning, gnu) 46 KBUILD_CFLAGS += -Wno-pointer-sign [all …]
|
/kernel/linux/linux-5.10/arch/openrisc/ |
D | Makefile | 23 LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name) 25 KBUILD_CFLAGS += -pipe -ffixed-r10 -D__linux__ 28 KBUILD_CFLAGS += $(call cc-option,-mhard-mul) 30 KBUILD_CFLAGS += $(call cc-option,-msoft-mul) 34 KBUILD_CFLAGS += $(call cc-option,-mhard-div) 36 KBUILD_CFLAGS += $(call cc-option,-msoft-div)
|
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/ |
D | Makefile | 21 cflags-$(CONFIG_ARM64) := $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) \ 24 cflags-$(CONFIG_ARM) := $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) \ 27 cflags-$(CONFIG_RISCV) := $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) \ 32 KBUILD_CFLAGS := $(cflags-y) -Os -DDISABLE_BRANCH_PROFILING \ macro 45 KBUILD_CFLAGS := $(filter-out $(RANDSTRUCT_CFLAGS), $(KBUILD_CFLAGS)) macro 48 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_SCS), $(KBUILD_CFLAGS)) macro 50 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_LTO), $(KBUILD_CFLAGS)) macro
|
/kernel/linux/linux-5.10/arch/s390/purgatory/ |
D | Makefile | 23 KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes macro 24 KBUILD_CFLAGS += -Wno-pointer-sign -Wno-sign-compare 25 KBUILD_CFLAGS += -fno-zero-initialized-in-bss -fno-builtin -ffreestanding 26 KBUILD_CFLAGS += -c -MD -Os -m64 -msoft-float -fno-common 27 KBUILD_CFLAGS += -fno-stack-protector 28 KBUILD_CFLAGS += $(CLANG_FLAGS) 29 KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
|
/kernel/linux/linux-5.10/arch/sparc/ |
D | Makefile | 32 KBUILD_CFLAGS += -m32 -mcpu=v8 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 33 KBUILD_CFLAGS += -Wa,-Av8 47 KBUILD_CFLAGS += -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow 48 KBUILD_CFLAGS += -ffixed-g4 -ffixed-g5 -fcall-used-g7 -Wno-sign-compare 49 KBUILD_CFLAGS += -Wa,--undeclared-regs 50 KBUILD_CFLAGS += $(call cc-option,-mtune=ultrasparc3) 54 KBUILD_CFLAGS += -pg
|
/kernel/linux/linux-5.10/arch/hexagon/ |
D | Makefile | 7 KBUILD_CFLAGS += -G0 11 KBUILD_CFLAGS += -fno-short-enums 14 KBUILD_CFLAGS += -mlong-calls 26 KBUILD_CFLAGS += $(cflags-y) 33 KBUILD_CFLAGS += -ffixed-$(TIR_NAME) -DTHREADINFO_REG=$(TIR_NAME) -D__linux__
|
/kernel/linux/linux-5.10/arch/h8300/ |
D | Makefile | 20 KBUILD_CFLAGS += $(cflags-y) 21 KBUILD_CFLAGS += -mint32 -fno-builtin 22 KBUILD_CFLAGS += -D__linux__ 23 KBUILD_CFLAGS += -DUTS_SYSNAME=\"uClinux\"
|
/kernel/linux/linux-5.10/arch/arm64/ |
D | Makefile | 47 KBUILD_CFLAGS += -mgeneral-regs-only \ 49 KBUILD_CFLAGS += $(call cc-disable-warning, psabi) 52 KBUILD_CFLAGS += $(call cc-option,-mabi=lp64) 56 KBUILD_CFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables 62 $(eval KBUILD_CFLAGS += -mstack-protector-guard=sysreg \ 92 KBUILD_CFLAGS += $(branch-prot-flags-y) 100 KBUILD_CFLAGS += -Wa,-march=$(asm-arch) \ 105 KBUILD_CFLAGS += -ffixed-x18 143 KBUILD_CFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
|
/kernel/linux/linux-5.10/arch/mips/vdso/ |
D | Makefile | 13 $(filter -I%,$(KBUILD_CFLAGS)) \ 14 $(filter -E%,$(KBUILD_CFLAGS)) \ 15 $(filter -mmicromips,$(KBUILD_CFLAGS)) \ 16 $(filter -march=%,$(KBUILD_CFLAGS)) \ 17 $(filter -m%-float,$(KBUILD_CFLAGS)) \ 18 $(filter -mno-loongson-%,$(KBUILD_CFLAGS)) \ 31 $(filter -W%,$(filter-out -Wa$(comma)%,$(KBUILD_CFLAGS))) \ 60 $(filter -E%,$(KBUILD_CFLAGS)) -nostdlib -shared \ 102 native-abi := $(filter -mabi=%,$(KBUILD_CFLAGS)) 112 $(obj-vdso): KBUILD_CFLAGS := $(cflags-vdso) $(native-abi) macro [all …]
|
/kernel/linux/linux-5.10/ |
D | Makefile | 499 KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \ macro 520 export KBUILD_CFLAGS CFLAGS_KERNEL CFLAGS_MODULE 581 KBUILD_CFLAGS += $(CLANG_FLAGS) 745 KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks,) 746 KBUILD_CFLAGS += $(call cc-disable-warning,frame-address,) 747 KBUILD_CFLAGS += $(call cc-disable-warning, format-truncation) 748 KBUILD_CFLAGS += $(call cc-disable-warning, format-overflow) 749 KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member) 752 KBUILD_CFLAGS += -O2 754 KBUILD_CFLAGS += -O3 [all …]
|
/kernel/linux/linux-5.10/arch/mips/boot/compressed/ |
D | Makefile | 21 KBUILD_CFLAGS := $(filter-out -pg, $(KBUILD_CFLAGS)) macro 23 KBUILD_CFLAGS := $(filter-out -fstack-protector, $(KBUILD_CFLAGS)) macro 27 KBUILD_CFLAGS := $(filter-out -march=loongson3a, $(KBUILD_CFLAGS)) -march=mips64r2 macro 30 KBUILD_CFLAGS := $(KBUILD_CFLAGS) -D__KERNEL__ -D__DISABLE_EXPORTS \ macro
|
/kernel/linux/linux-5.10/arch/powerpc/ |
D | Makefile | 61 KBUILD_CFLAGS += -mlittle-endian 68 KBUILD_CFLAGS += $(call cc-option,-mbig-endian) 94 KBUILD_CFLAGS += -m$(BITS) 191 KBUILD_CFLAGS += $(call cc-option,-msoft-float) 192 KBUILD_CFLAGS += -pipe $(CFLAGS-y) 193 CPP = $(CC) -E $(KBUILD_CFLAGS) 208 KBUILD_CFLAGS += $(call cc-option,-mno-altivec) 209 KBUILD_CFLAGS += $(call cc-option,-mno-vsx) 213 KBUILD_CFLAGS += $(call cc-option,-mno-spe) 214 KBUILD_CFLAGS += $(call cc-option,-mspe=no) [all …]
|
/kernel/linux/linux-5.10/arch/nds32/ |
D | Makefile | 12 KBUILD_CFLAGS += $(call cc-option, -mno-sched-prolog-epilog) 13 KBUILD_CFLAGS += -mcmodel=large 15 KBUILD_CFLAGS +=$(arch-y) $(tune-y) 39 KBUILD_CFLAGS += $(call cc-option, -EL) 44 KBUILD_CFLAGS += $(call cc-option, -EB)
|
/kernel/linux/linux-5.10/arch/xtensa/ |
D | Makefile | 44 KBUILD_CFLAGS += -ffreestanding -D__linux__ 45 KBUILD_CFLAGS += -pipe -mlongcalls -mtext-section-literals 46 KBUILD_CFLAGS += $(call cc-option,-mforce-no-pic,) 47 KBUILD_CFLAGS += $(call cc-option,-mno-serialize-volatile,) 78 LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
|
/kernel/linux/linux-5.10/arch/s390/ |
D | Makefile | 18 KBUILD_CFLAGS += -m64 20 KBUILD_CFLAGS += -fPIE 39 KBUILD_CFLAGS += $(call cc-disable-warning, array-bounds) 100 KBUILD_CFLAGS += -mwarn-dynamicstack 123 KBUILD_CFLAGS += -DCC_USING_HOTPATCH 131 KBUILD_CFLAGS += -mbackchain -msoft-float $(cflags-y) 132 KBUILD_CFLAGS += -pipe -Wno-sign-compare 133 KBUILD_CFLAGS += -fno-asynchronous-unwind-tables $(cfi)
|
/kernel/linux/linux-5.10/arch/parisc/boot/compressed/ |
D | Makefile | 17 KBUILD_CFLAGS := -D__KERNEL__ -O2 -DBOOTLOADER macro 18 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING 19 KBUILD_CFLAGS += -fno-strict-aliasing 20 KBUILD_CFLAGS += $(cflags-y) -fno-delete-null-pointer-checks -fno-builtin-printf 21 KBUILD_CFLAGS += -fno-PIE -mno-space-regs -mdisable-fpregs -Os 23 KBUILD_CFLAGS += -mfast-indirect-calls
|
/kernel/linux/linux-5.10/arch/sparc/vdso/ |
D | Makefile | 55 $(filter -g%,$(KBUILD_CFLAGS)) -fno-stack-protector \ 61 $(vobjs): KBUILD_CFLAGS := $(filter-out $(GCC_PLUGINS_CFLAGS) $(SPARC_REG_CFLAGS),$(KBUILD_CFLAGS))… macro 88 KBUILD_CFLAGS_32 := $(filter-out -m64,$(KBUILD_CFLAGS)) 99 $(obj)/vdso32.so.dbg: KBUILD_CFLAGS = $(KBUILD_CFLAGS_32) macro
|
/kernel/linux/linux-5.10/arch/um/ |
D | Makefile | 39 KBUILD_CFLAGS += -mcmodel=large 65 KBUILD_CFLAGS += $(CFLAGS) $(CFLAGS-y) -D__arch_um__ \ 73 USER_CFLAGS = $(patsubst $(KERNEL_DEFINES),,$(patsubst -I%,,$(KBUILD_CFLAGS))) \ 97 KBUILD_CFLAGS += $(KERNEL_DEFINES)
|
/kernel/linux/linux-5.10/arch/arm/ |
D | Makefile | 23 KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm) 31 KBUILD_CFLAGS += $(call cc-option,-mno-unaligned-access) 35 KBUILD_CFLAGS +=-fno-omit-frame-pointer 37 KBUILD_CFLAGS += -mapcs -mno-sched-prolog 52 KBUILD_CFLAGS += -fpic -include $(srctree)/include/linux/hidden.h 63 KBUILD_CFLAGS += $(call cc-option,-fno-ipa-sra) 134 KBUILD_CFLAGS +=$(CFLAGS_ABI) $(CFLAGS_ISA) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes… 305 $(eval KBUILD_CFLAGS += $(SSP_PLUGIN_CFLAGS))
|
/kernel/linux/linux-5.10/arch/m68k/ |
D | Makefile | 64 KBUILD_CFLAGS += $(cpuflags-y) 66 KBUILD_CFLAGS += -pipe -ffreestanding 70 KBUILD_CFLAGS += -fno-strength-reduce -ffixed-a2
|