Home
last modified time | relevance | path

Searched refs:KBUILD_CFLAGS (Results 1 – 25 of 71) sorted by relevance

123

/Linux-v6.6/scripts/
DMakefile.extrawarn10 KBUILD_CFLAGS += -Wall
11 KBUILD_CFLAGS += -Wundef
12 KBUILD_CFLAGS += -Werror=implicit-function-declaration
13 KBUILD_CFLAGS += -Werror=implicit-int
14 KBUILD_CFLAGS += -Werror=return-type
15 KBUILD_CFLAGS += -Werror=strict-prototypes
16 KBUILD_CFLAGS += -Wno-format-security
17 KBUILD_CFLAGS += -Wno-trigraphs
18 KBUILD_CFLAGS += $(call cc-disable-warning,frame-address,)
19 KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
[all …]
/Linux-v6.6/arch/nios2/
DMakefile22 LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) $(KCFLAGS) -print-libgcc-file-name)
26 KBUILD_CFLAGS += -pipe -D__linux__ -D__ELF__
27 KBUILD_CFLAGS += -march=r$(CONFIG_NIOS2_ARCH_REVISION)
28 KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_MUL_SUPPORT),-mhw-mul,-mno-hw-mul)
29 KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_MULX_SUPPORT),-mhw-mulx,-mno-hw-mulx)
30 KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_DIV_SUPPORT),-mhw-div,-mno-hw-div)
31 KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_BMX_SUPPORT),-mbmx,-mno-bmx)
32 KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_CDX_SUPPORT),-mcdx,-mno-cdx)
33 KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_FPU_SUPPORT),-mcustom-fpu-cfg=60-1,)
35 KBUILD_CFLAGS += -fno-optimize-sibling-calls
[all …]
/Linux-v6.6/arch/x86/
DMakefile70 KBUILD_CFLAGS += -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx
83 KBUILD_CFLAGS += $(call cc-option,-fcf-protection=branch -fno-jump-tables)
85 KBUILD_CFLAGS += $(call cc-option,-fcf-protection=none)
94 KBUILD_CFLAGS += -m32
96 KBUILD_CFLAGS += -msoft-float -mregparm=3 -freg-struct-return
100 KBUILD_CFLAGS += -fno-pic
105 KBUILD_CFLAGS += $(cc_stack_align4)
109 KBUILD_CFLAGS += $(cflags-y)
112 KBUILD_CFLAGS += -ffreestanding
116 KBUILD_CFLAGS += -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard
[all …]
DMakefile.um11 KBUILD_CFLAGS += -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx
23 KBUILD_CFLAGS += $(call cc-option,-m32)
40 KBUILD_CFLAGS += $(cflags-y)
46 KBUILD_CFLAGS += -fno-builtin -m64
/Linux-v6.6/arch/openrisc/
DMakefile21 LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
23 KBUILD_CFLAGS += -pipe -ffixed-r10 -D__linux__
24 KBUILD_CFLAGS += -msfimm -mshftimm
31 KBUILD_CFLAGS += $(call cc-option,-mhard-mul)
33 KBUILD_CFLAGS += $(call cc-option,-msoft-mul)
37 KBUILD_CFLAGS += $(call cc-option,-mhard-div)
39 KBUILD_CFLAGS += $(call cc-option,-msoft-div)
43 KBUILD_CFLAGS += $(call cc-option,-mcmov)
47 KBUILD_CFLAGS += $(call cc-option,-mror)
51 KBUILD_CFLAGS += $(call cc-option,-mrori)
[all …]
/Linux-v6.6/arch/riscv/
DMakefile12 KBUILD_CFLAGS += -fPIE
33 KBUILD_CFLAGS += -mabi=lp64
41 KBUILD_CFLAGS += -mabi=ilp32
48 KBUILD_CFLAGS += -mno-relax
51 KBUILD_CFLAGS += -Wa,-mno-relax
65 KBUILD_CFLAGS += -Wa,-misa-spec=2.2
76 KBUILD_CFLAGS += -march=$(shell echo $(riscv-march-y) | sed -E 's/(rv32ima|rv64ima)fd([^v_]*)v?/\1\…
80 KBUILD_CFLAGS += -mno-save-restore
81 KBUILD_CFLAGS += -DCONFIG_PAGE_OFFSET=$(CONFIG_PAGE_OFFSET)
84 KBUILD_CFLAGS += -mcmodel=medlow
[all …]
/Linux-v6.6/arch/x86/boot/compressed/
DMakefile36 KBUILD_CFLAGS := -m$(BITS) -O2 $(CLANG_FLAGS) macro
37 KBUILD_CFLAGS += -fno-strict-aliasing -fPIE
38 KBUILD_CFLAGS += -Wundef
39 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
42 KBUILD_CFLAGS += $(cflags-y)
43 KBUILD_CFLAGS += -mno-mmx -mno-sse
44 KBUILD_CFLAGS += -ffreestanding -fshort-wchar
45 KBUILD_CFLAGS += -fno-stack-protector
46 KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
47 KBUILD_CFLAGS += $(call cc-disable-warning, gnu)
[all …]
/Linux-v6.6/arch/arm64/
DMakefile39 KBUILD_CFLAGS += -mgeneral-regs-only \
41 KBUILD_CFLAGS += $(call cc-disable-warning, psabi)
44 KBUILD_CFLAGS += $(call cc-option,-mabi=lp64)
49 KBUILD_CFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables
52 KBUILD_CFLAGS += -fasynchronous-unwind-tables
59 $(eval KBUILD_CFLAGS += -mstack-protector-guard=sysreg \
67 KBUILD_CFLAGS += -mbranch-protection=pac-ret+bti
70 KBUILD_CFLAGS += -mbranch-protection=pac-ret
72 KBUILD_CFLAGS += -msign-return-address=non-leaf
75 KBUILD_CFLAGS += $(call cc-option,-mbranch-protection=none)
[all …]
/Linux-v6.6/arch/s390/purgatory/
DMakefile24 KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes macro
25 KBUILD_CFLAGS += -Wno-pointer-sign -Wno-sign-compare
26 KBUILD_CFLAGS += -fno-zero-initialized-in-bss -fno-builtin -ffreestanding
27 KBUILD_CFLAGS += -Os -m64 -msoft-float -fno-common
28 KBUILD_CFLAGS += -fno-stack-protector
29 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
30 KBUILD_CFLAGS += $(CLANG_FLAGS)
31 KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
/Linux-v6.6/arch/powerpc/
DMakefile54 KBUILD_CFLAGS += -mlittle-endian
61 KBUILD_CFLAGS += $(call cc-option,-mbig-endian)
87 KBUILD_CFLAGS += -m$(BITS)
166 KBUILD_CFLAGS += $(call cc-option,-msoft-float)
167 KBUILD_CFLAGS += $(CFLAGS-y)
168 CPP = $(CC) -E $(KBUILD_CFLAGS)
184 KBUILD_CFLAGS += $(call cc-option,-mprefixed)
186 KBUILD_CFLAGS += $(call cc-option,-mno-prefixed)
189 KBUILD_CFLAGS += $(call cc-option,-mpcrel)
191 KBUILD_CFLAGS += $(call cc-option,-mno-pcrel)
[all …]
/Linux-v6.6/arch/sparc/
DMakefile32 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
/Linux-v6.6/arch/hexagon/
DMakefile7 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__
/Linux-v6.6/arch/arm64/kernel/pi/
DMakefile4 KBUILD_CFLAGS := $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) -fpie \ macro
14 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_SCS), $(KBUILD_CFLAGS)) macro
16 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_LTO), $(KBUILD_CFLAGS)) macro
/Linux-v6.6/arch/loongarch/vdso/
DMakefile14 $(filter -I%,$(KBUILD_CFLAGS)) \
15 $(filter -E%,$(KBUILD_CFLAGS)) \
16 $(filter -march=%,$(KBUILD_CFLAGS)) \
17 $(filter -m%-float,$(KBUILD_CFLAGS)) \
23 $(filter -W%,$(filter-out -Wa$(comma)%,$(KBUILD_CFLAGS))) \
37 $(filter -E%,$(KBUILD_CFLAGS)) -nostdlib -shared \
64 native-abi := $(filter -mabi=%,$(KBUILD_CFLAGS))
71 $(obj-vdso): KBUILD_CFLAGS := $(cflags-vdso) $(native-abi) macro
/Linux-v6.6/drivers/firmware/efi/libstub/
DMakefile10 cflags-y := $(KBUILD_CFLAGS)
36 KBUILD_CFLAGS := $(subst $(CC_FLAGS_FTRACE),,$(cflags-y)) \ macro
50 KBUILD_CFLAGS := $(filter-out $(RANDSTRUCT_CFLAGS), $(KBUILD_CFLAGS)) macro
53 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_SCS), $(KBUILD_CFLAGS)) macro
55 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_CFI), $(KBUILD_CFLAGS)) macro
57 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_LTO), $(KBUILD_CFLAGS)) macro
/Linux-v6.6/arch/mips/vdso/
DMakefile14 $(filter -I%,$(KBUILD_CFLAGS)) \
15 $(filter -E%,$(KBUILD_CFLAGS)) \
16 $(filter -mmicromips,$(KBUILD_CFLAGS)) \
17 $(filter -march=%,$(KBUILD_CFLAGS)) \
18 $(filter -m%-float,$(KBUILD_CFLAGS)) \
19 $(filter -mno-loongson-%,$(KBUILD_CFLAGS)) \
32 $(filter -W%,$(filter-out -Wa$(comma)%,$(KBUILD_CFLAGS))) \
58 $(filter -E%,$(KBUILD_CFLAGS)) -shared \
100 native-abi := $(filter -mabi=%,$(KBUILD_CFLAGS))
110 $(obj-vdso): KBUILD_CFLAGS := $(cflags-vdso) $(native-abi) macro
[all …]
/Linux-v6.6/arch/xtensa/
DMakefile34 KBUILD_CFLAGS += -ffreestanding -D__linux__
35 KBUILD_CFLAGS += -pipe -mlongcalls -mtext-section-literals
36 KBUILD_CFLAGS += $(call cc-option,-mforce-no-pic,)
37 KBUILD_CFLAGS += $(call cc-option,-mno-serialize-volatile,)
39 KBUILD_CFLAGS += -mabi=call0
/Linux-v6.6/arch/parisc/boot/compressed/
DMakefile17 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
/Linux-v6.6/arch/mips/boot/compressed/
DMakefile21 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_FTRACE), $(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
/Linux-v6.6/arch/loongarch/
DMakefile98 KBUILD_CFLAGS += $(cflags-y)
103 KBUILD_CFLAGS += -fno-asynchronous-unwind-tables
109 KBUILD_CFLAGS += $(call cc-option,-mstrict-align)
112 KBUILD_CFLAGS += $(call cc-option,-mno-strict-align)
115 KBUILD_CFLAGS += -isystem $(shell $(CC) -print-file-name=include)
120 CHECKFLAGS += $(shell $(CC) $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) -dM -E -x c /dev/null | \
/Linux-v6.6/arch/arm/
DMakefile23 KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm)
26 KBUILD_CFLAGS += $(call cc-option,-mno-fdpic)
34 KBUILD_CFLAGS += $(call cc-option,-mno-unaligned-access)
38 KBUILD_CFLAGS +=-fno-omit-frame-pointer
40 KBUILD_CFLAGS += -mapcs -mno-sched-prolog
60 KBUILD_CFLAGS += $(call cc-option,-fno-ipa-sra)
127 KBUILD_CFLAGS += -mtp=cp15
144 KBUILD_CFLAGS +=$(CFLAGS_ABI) $(CFLAGS_ISA) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes…
263 $(eval KBUILD_CFLAGS += \
274 $(eval KBUILD_CFLAGS += $(SSP_PLUGIN_CFLAGS))
/Linux-v6.6/arch/arm64/kvm/hyp/nvhe/
DMakefile94 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_FTRACE) $(CC_FLAGS_SCS) $(CC_FLAGS_CFI), $(KBUILD_CFLAGS)) macro
98 KBUILD_CFLAGS := $(filter-out -fprofile-sample-use=% -fprofile-use=%, $(KBUILD_CFLAGS)) macro
99 KBUILD_CFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables
/Linux-v6.6/
DMakefile559 KBUILD_CFLAGS := macro
560 KBUILD_CFLAGS += -std=gnu11
561 KBUILD_CFLAGS += -fshort-wchar
562 KBUILD_CFLAGS += -funsigned-char
563 KBUILD_CFLAGS += -fno-common
564 KBUILD_CFLAGS += -fno-PIE
565 KBUILD_CFLAGS += -fno-strict-aliasing
612 export KBUILD_CFLAGS CFLAGS_KERNEL CFLAGS_MODULE
817 KBUILD_CFLAGS += -fno-delete-null-pointer-checks
820 KBUILD_CFLAGS += -O2
[all …]
/Linux-v6.6/arch/x86/purgatory/
DMakefile20 KBUILD_CFLAGS := $(filter-out -fprofile-sample-use=% -fprofile-use=%,$(KBUILD_CFLAGS)) macro
24 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_LTO),$(KBUILD_CFLAGS)) macro
/Linux-v6.6/arch/s390/
DMakefile16 KBUILD_CFLAGS += -m64
17 KBUILD_CFLAGS += -fPIE
104 KBUILD_CFLAGS += -DCC_USING_HOTPATCH
112 KBUILD_CFLAGS += -mpacked-stack -mbackchain -msoft-float $(cflags-y)
113 KBUILD_CFLAGS += -pipe -Wno-sign-compare
114 KBUILD_CFLAGS += -fno-asynchronous-unwind-tables $(cfi)

123