Home
last modified time | relevance | path

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

123

/Linux-v5.15/scripts/
DMakefile.extrawarn9 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 …]
DMakefile.compiler35 $(CC) $(KBUILD_CFLAGS) $(1) -c -x assembler /dev/null -o "$$TMP",$(1),$(2))
52 $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS),$(1),$(2))
57 $(CC) -Werror $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) $(1) -c -x c /dev/null -o "$$TMP",y,n)
62 …$(CC) -Werror $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) -W$(strip $(1)) -c -x c /dev/null -o "$$TMP",-Wn…
/Linux-v5.15/arch/nios2/
DMakefile23 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 …]
/Linux-v5.15/arch/x86/
DMakefile51 KBUILD_CFLAGS += -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx
54 KBUILD_CFLAGS += $(call cc-option,-fcf-protection=none)
62 KBUILD_CFLAGS += -m32
64 KBUILD_CFLAGS += -msoft-float -mregparm=3 -freg-struct-return
68 KBUILD_CFLAGS += -fno-pic
73 KBUILD_CFLAGS += $(cc_stack_align4)
77 KBUILD_CFLAGS += $(cflags-y)
80 KBUILD_CFLAGS += -ffreestanding
84 KBUILD_CFLAGS += -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard
86 KBUILD_CFLAGS += -mstack-protector-guard=global
[all …]
DMakefile.um12 KBUILD_CFLAGS += $(call cc-option,-m32)
29 KBUILD_CFLAGS += $(cflags-y)
35 KBUILD_CFLAGS += -fno-builtin -m64
/Linux-v5.15/arch/x86/boot/compressed/
DMakefile31 KBUILD_CFLAGS := -m$(BITS) -O2 macro
32 KBUILD_CFLAGS += -fno-strict-aliasing -fPIE
33 KBUILD_CFLAGS += -Wundef
34 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
37 KBUILD_CFLAGS += $(cflags-y)
38 KBUILD_CFLAGS += -mno-mmx -mno-sse
39 KBUILD_CFLAGS += -ffreestanding -fshort-wchar
40 KBUILD_CFLAGS += -fno-stack-protector
41 KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
42 KBUILD_CFLAGS += $(call cc-disable-warning, gnu)
[all …]
/Linux-v5.15/arch/riscv/
DMakefile28 KBUILD_CFLAGS += -mabi=lp64
36 KBUILD_CFLAGS += -mabi=ilp32
42 KBUILD_CFLAGS += -mno-relax
45 KBUILD_CFLAGS += -Wa,-mno-relax
55 KBUILD_CFLAGS += -march=$(subst fd,,$(riscv-march-y))
58 KBUILD_CFLAGS += -mno-save-restore
59 KBUILD_CFLAGS += -DCONFIG_PAGE_OFFSET=$(CONFIG_PAGE_OFFSET)
62 KBUILD_CFLAGS += -mcmodel=medlow
65 KBUILD_CFLAGS += -mcmodel=medany
68 KBUILD_CFLAGS += -fno-omit-frame-pointer
[all …]
/Linux-v5.15/arch/openrisc/
DMakefile23 LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
25 KBUILD_CFLAGS += -pipe -ffixed-r10 -D__linux__
32 KBUILD_CFLAGS += $(call cc-option,-mhard-mul)
34 KBUILD_CFLAGS += $(call cc-option,-msoft-mul)
38 KBUILD_CFLAGS += $(call cc-option,-mhard-div)
40 KBUILD_CFLAGS += $(call cc-option,-msoft-div)
/Linux-v5.15/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-v5.15/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-v5.15/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 += -c -MD -Os -m64 -msoft-float -fno-common
28 KBUILD_CFLAGS += -fno-stack-protector
29 KBUILD_CFLAGS += $(CLANG_FLAGS)
30 KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
/Linux-v5.15/
DMakefile512 KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \ macro
533 export KBUILD_CFLAGS CFLAGS_KERNEL CFLAGS_MODULE
748 KBUILD_CFLAGS += -fno-delete-null-pointer-checks
749 KBUILD_CFLAGS += $(call cc-disable-warning,frame-address,)
750 KBUILD_CFLAGS += $(call cc-disable-warning, format-truncation)
751 KBUILD_CFLAGS += $(call cc-disable-warning, format-overflow)
752 KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
755 KBUILD_CFLAGS += -O2
757 KBUILD_CFLAGS += -O3
759 KBUILD_CFLAGS += -Os
[all …]
/Linux-v5.15/arch/h8300/
DMakefile20 KBUILD_CFLAGS += $(cflags-y)
21 KBUILD_CFLAGS += -mint32 -fno-builtin
22 KBUILD_CFLAGS += -D__linux__
23 KBUILD_CFLAGS += -DUTS_SYSNAME=\"uClinux\"
/Linux-v5.15/drivers/firmware/efi/libstub/
DMakefile21 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
41 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_SCS), $(KBUILD_CFLAGS)) macro
43 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_LTO), $(KBUILD_CFLAGS)) macro
/Linux-v5.15/arch/powerpc/
DMakefile27 KBUILD_CFLAGS += -mcpu=powerpc
34 KBUILD_CFLAGS += -mcpu=powerpc
78 KBUILD_CFLAGS += -mlittle-endian
85 KBUILD_CFLAGS += $(call cc-option,-mbig-endian)
111 KBUILD_CFLAGS += -m$(BITS)
210 KBUILD_CFLAGS += $(call cc-option,-msoft-float)
211 KBUILD_CFLAGS += -pipe $(CFLAGS-y)
212 CPP = $(CC) -E $(KBUILD_CFLAGS)
227 KBUILD_CFLAGS += $(call cc-option,-mno-altivec)
228 KBUILD_CFLAGS += $(call cc-option,-mno-vsx)
[all …]
/Linux-v5.15/arch/mips/vdso/
DMakefile13 $(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 …]
/Linux-v5.15/arch/xtensa/
DMakefile36 KBUILD_CFLAGS += -ffreestanding -D__linux__
37 KBUILD_CFLAGS += -pipe -mlongcalls -mtext-section-literals
38 KBUILD_CFLAGS += $(call cc-option,-mforce-no-pic,)
39 KBUILD_CFLAGS += $(call cc-option,-mno-serialize-volatile,)
58 LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
/Linux-v5.15/arch/arm64/
DMakefile39 KBUILD_CFLAGS += -mgeneral-regs-only \
41 KBUILD_CFLAGS += $(call cc-disable-warning, psabi)
44 KBUILD_CFLAGS += $(call cc-option,-mabi=lp64)
48 KBUILD_CFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables
54 $(eval KBUILD_CFLAGS += -mstack-protector-guard=sysreg \
84 KBUILD_CFLAGS += $(branch-prot-flags-y)
97 KBUILD_CFLAGS += -Wa,-march=$(asm-arch) \
102 KBUILD_CFLAGS += -ffixed-x18
140 KBUILD_CFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
/Linux-v5.15/arch/nds32/
DMakefile12 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)
/Linux-v5.15/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-v5.15/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-v5.15/arch/s390/
DMakefile18 KBUILD_CFLAGS += -m64
20 KBUILD_CFLAGS += -fPIE
106 KBUILD_CFLAGS += -DCC_USING_HOTPATCH
114 KBUILD_CFLAGS += -mbackchain -msoft-float $(cflags-y)
115 KBUILD_CFLAGS += -pipe -Wno-sign-compare
116 KBUILD_CFLAGS += -fno-asynchronous-unwind-tables $(cfi)
/Linux-v5.15/arch/sparc/vdso/
DMakefile55 $(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
/Linux-v5.15/arch/um/
DMakefile39 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)
/Linux-v5.15/arch/m68k/
DMakefile64 KBUILD_CFLAGS += $(cpuflags-y)
66 KBUILD_CFLAGS += -pipe -ffreestanding
69 KBUILD_CFLAGS += -ffixed-a2

123