Home
last modified time | relevance | path

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

123

/linux-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/arch/x86/
DMakefile77 KBUILD_CFLAGS += -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx
111 KBUILD_CFLAGS += $(call cc-option,-fcf-protection=branch -fno-jump-tables)
114 KBUILD_CFLAGS += $(call cc-option,-fcf-protection=none)
123 KBUILD_CFLAGS += -m32
125 KBUILD_CFLAGS += -msoft-float -mregparm=3 -freg-struct-return
129 KBUILD_CFLAGS += -fno-pic
134 KBUILD_CFLAGS += $(cc_stack_align4)
138 KBUILD_CFLAGS += $(cflags-y)
141 KBUILD_CFLAGS += -ffreestanding
145 KBUILD_CFLAGS += -mstack-protector-guard-reg=fs \
[all …]
DMakefile.um11 KBUILD_CFLAGS += -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx
24 KBUILD_CFLAGS += $(call cc-option,-m32)
41 KBUILD_CFLAGS += $(cflags-y)
47 KBUILD_CFLAGS += -fno-builtin -m64
/linux-6.12.1/arch/x86/boot/compressed/
DMakefile27 KBUILD_CFLAGS := -m$(BITS) -O2 $(CLANG_FLAGS) macro
28 KBUILD_CFLAGS += -fno-strict-aliasing -fPIE
29 KBUILD_CFLAGS += -Wundef
30 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
33 KBUILD_CFLAGS += $(cflags-y)
34 KBUILD_CFLAGS += -mno-mmx -mno-sse
35 KBUILD_CFLAGS += -ffreestanding -fshort-wchar
36 KBUILD_CFLAGS += -fno-stack-protector
37 KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
38 KBUILD_CFLAGS += $(call cc-disable-warning, gnu)
[all …]
/linux-6.12.1/arch/riscv/
DMakefile12 KBUILD_CFLAGS += -fPIE
33 KBUILD_CFLAGS += -mabi=lp64
44 KBUILD_CFLAGS += -mabi=ilp32
50 KBUILD_CFLAGS += -mno-relax
53 KBUILD_CFLAGS += -Wa,-mno-relax
79 KBUILD_CFLAGS += -Wa,-misa-spec=2.2
87 KBUILD_CFLAGS += -march=$(shell echo $(riscv-march-y) | sed -E 's/(rv32ima|rv64ima)fd([^v_]*)v?/\1\…
94 KBUILD_CFLAGS += -mno-save-restore
95 KBUILD_CFLAGS += -DCONFIG_PAGE_OFFSET=$(CONFIG_PAGE_OFFSET)
98 KBUILD_CFLAGS += -mcmodel=medlow
[all …]
/linux-6.12.1/arch/s390/purgatory/
DMakefile16 KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes macro
17 KBUILD_CFLAGS += -Wno-pointer-sign -Wno-sign-compare
18 KBUILD_CFLAGS += -fno-zero-initialized-in-bss -fno-builtin -ffreestanding
19 KBUILD_CFLAGS += -Os -m64 -msoft-float -fno-common
20 KBUILD_CFLAGS += -fno-stack-protector
21 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
22 KBUILD_CFLAGS += $(CLANG_FLAGS)
23 KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
/linux-6.12.1/arch/powerpc/
DMakefile65 KBUILD_CFLAGS += -mlittle-endian
72 KBUILD_CFLAGS += $(call cc-option,-mbig-endian)
98 KBUILD_CFLAGS += -m$(BITS)
176 KBUILD_CFLAGS += $(CC_FLAGS_NO_FPU)
177 KBUILD_CFLAGS += $(CFLAGS-y)
178 CPP = $(CC) -E $(KBUILD_CFLAGS)
194 KBUILD_CFLAGS += $(call cc-option,-mprefixed)
196 KBUILD_CFLAGS += $(call cc-option,-mno-prefixed)
199 KBUILD_CFLAGS += $(call cc-option,-mpcrel)
201 KBUILD_CFLAGS += $(call cc-option,-mno-pcrel)
[all …]
/linux-6.12.1/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-6.12.1/arch/arm64/
DMakefile46 KBUILD_CFLAGS += $(CC_FLAGS_NO_FPU) \
48 KBUILD_CFLAGS += $(call cc-disable-warning, psabi)
53 KBUILD_CFLAGS += $(call cc-option,-mabi=lp64)
58 KBUILD_CFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables
62 KBUILD_CFLAGS += -fasynchronous-unwind-tables
70 $(eval KBUILD_CFLAGS += -mstack-protector-guard=sysreg \
78 KBUILD_CFLAGS += -mbranch-protection=pac-ret+bti
83 KBUILD_CFLAGS += -mbranch-protection=pac-ret
85 KBUILD_CFLAGS += -msign-return-address=non-leaf
88 KBUILD_CFLAGS += $(call cc-option,-mbranch-protection=none)
[all …]
/linux-6.12.1/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-6.12.1/arch/loongarch/vdso/
DMakefile12 $(filter -I%,$(KBUILD_CFLAGS)) \
13 $(filter -E%,$(KBUILD_CFLAGS)) \
14 $(filter -march=%,$(KBUILD_CFLAGS)) \
15 $(filter -m%-float,$(KBUILD_CFLAGS)) \
21 $(filter -W%,$(filter-out -Wa$(comma)%,$(KBUILD_CFLAGS))) \
39 $(filter -E%,$(KBUILD_CFLAGS)) -nostdlib -shared \
64 native-abi := $(filter -mabi=%,$(KBUILD_CFLAGS))
71 $(obj-vdso): KBUILD_CFLAGS := $(cflags-vdso) $(native-abi) macro
/linux-6.12.1/drivers/firmware/efi/libstub/
DMakefile10 cflags-y := $(KBUILD_CFLAGS)
38 KBUILD_CFLAGS := $(subst $(CC_FLAGS_FTRACE),,$(cflags-y)) \ macro
52 KBUILD_CFLAGS := $(filter-out $(RANDSTRUCT_CFLAGS), $(KBUILD_CFLAGS)) macro
55 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_SCS), $(KBUILD_CFLAGS)) macro
57 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_CFI), $(KBUILD_CFLAGS)) macro
59 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_LTO), $(KBUILD_CFLAGS)) macro
/linux-6.12.1/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,)
38 KBUILD_CFLAGS += $(call cc-option,-mno-fdpic,)
40 KBUILD_CFLAGS += -mabi=call0
/linux-6.12.1/arch/arm64/kernel/pi/
DMakefile4 KBUILD_CFLAGS := $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) -fpie \ macro
18 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_SCS), $(KBUILD_CFLAGS)) macro
20 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_LTO), $(KBUILD_CFLAGS)) macro
/linux-6.12.1/arch/mips/vdso/
DMakefile11 $(filter -I%,$(KBUILD_CFLAGS)) \
12 $(filter -E%,$(KBUILD_CFLAGS)) \
13 $(filter -mmicromips,$(KBUILD_CFLAGS)) \
14 $(filter -march=%,$(KBUILD_CFLAGS)) \
15 $(filter -m%-float,$(KBUILD_CFLAGS)) \
16 $(filter -mno-loongson-%,$(KBUILD_CFLAGS)) \
29 $(filter -W%,$(filter-out -Wa$(comma)%,$(KBUILD_CFLAGS))) \
55 $(filter -E%,$(KBUILD_CFLAGS)) -shared \
93 native-abi := $(filter -mabi=%,$(KBUILD_CFLAGS))
103 $(obj-vdso): KBUILD_CFLAGS := $(cflags-vdso) $(native-abi) macro
[all …]
/linux-6.12.1/arch/riscv/kernel/pi/
DMakefile4 KBUILD_CFLAGS := $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) -fpie \ macro
14 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_LTO), $(KBUILD_CFLAGS)) macro
16 KBUILD_CFLAGS += -mcmodel=medany
/linux-6.12.1/arch/loongarch/
DMakefile99 KBUILD_CFLAGS += $(call cc-option,-mno-relax) $(call cc-option,-Wa$(comma)-mno-relax)
101 KBUILD_CFLAGS += $(call cc-option,-mthin-add-sub) $(call cc-option,-Wa$(comma)-mthin-add-sub)
104 KBUILD_CFLAGS += -fno-jump-tables
129 KBUILD_CFLAGS += $(cflags-y)
134 KBUILD_CFLAGS += -fno-asynchronous-unwind-tables
140 KBUILD_CFLAGS += $(call cc-option,-mstrict-align)
143 KBUILD_CFLAGS += $(call cc-option,-mno-strict-align)
146 KBUILD_CFLAGS += -isystem $(shell $(CC) -print-file-name=include)
151 CHECKFLAGS += $(shell $(CC) $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) -dM -E -x c /dev/null | \
/linux-6.12.1/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-6.12.1/arch/parisc/boot/compressed/
DMakefile13 KBUILD_CFLAGS := -D__KERNEL__ -O2 -DBOOTLOADER macro
14 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
15 KBUILD_CFLAGS += -fno-strict-aliasing
16 KBUILD_CFLAGS += $(cflags-y) -fno-delete-null-pointer-checks -fno-builtin-printf
17 KBUILD_CFLAGS += -fno-PIE -mno-space-regs -mdisable-fpregs -Os
19 KBUILD_CFLAGS += -mfast-indirect-calls
/linux-6.12.1/
DMakefile547 KBUILD_CFLAGS := macro
548 KBUILD_CFLAGS += -std=gnu11
549 KBUILD_CFLAGS += -fshort-wchar
550 KBUILD_CFLAGS += -funsigned-char
551 KBUILD_CFLAGS += -fno-common
552 KBUILD_CFLAGS += -fno-PIE
553 KBUILD_CFLAGS += -fno-strict-aliasing
595 export KBUILD_CFLAGS CFLAGS_KERNEL CFLAGS_MODULE
799 KBUILD_CFLAGS += -fno-delete-null-pointer-checks
802 KBUILD_CFLAGS += -O2
[all …]
/linux-6.12.1/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
151 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-6.12.1/arch/arm64/kvm/hyp/nvhe/
DMakefile96 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_FTRACE) $(CC_FLAGS_SCS), $(KBUILD_CFLAGS)) macro
100 KBUILD_CFLAGS := $(filter-out -fprofile-sample-use=% -fprofile-use=%, $(KBUILD_CFLAGS)) macro
101 KBUILD_CFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables
/linux-6.12.1/arch/x86/purgatory/
DMakefile19 KBUILD_CFLAGS := $(filter-out -fprofile-sample-use=% -fprofile-use=%,$(KBUILD_CFLAGS)) macro
23 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_LTO),$(KBUILD_CFLAGS)) macro

123