Home
last modified time | relevance | path

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

123

/Linux-v4.19/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-v4.19/arch/x86/
DMakefile60 KBUILD_CFLAGS += -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
61 KBUILD_CFLAGS += $(call cc-option,-mno-avx,)
70 KBUILD_CFLAGS += $(biarch)
72 KBUILD_CFLAGS += -msoft-float -mregparm=3 -freg-struct-return
76 KBUILD_CFLAGS += -fno-pic
81 KBUILD_CFLAGS += $(call cc-option,$(cc_stack_align4))
85 KBUILD_CFLAGS += $(cflags-y)
88 KBUILD_CFLAGS += -ffreestanding
96 KBUILD_CFLAGS += -m64
99 KBUILD_CFLAGS += $(call cc-option,-falign-jumps=1)
[all …]
DMakefile.um12 KBUILD_CFLAGS += $(call cc-option,-m32)
32 KBUILD_CFLAGS += $(shell if [ $(cc-version) -lt 0400 ] ; then \
36 KBUILD_CFLAGS += $(cflags-y)
42 KBUILD_CFLAGS += -fno-builtin -m64
58 KBUILD_CFLAGS += $(call cc-option,-funit-at-a-time)
/Linux-v4.19/arch/riscv/
DMakefile26 KBUILD_CFLAGS += -mabi=lp64
29 KBUILD_CFLAGS += $(call cc-ifversion, -ge, 0500, -DCONFIG_ARCH_SUPPORTS_INT128)
37 KBUILD_CFLAGS += -mabi=ilp32
43 KBUILD_CFLAGS += -Wall
54 KBUILD_CFLAGS += -march=$(KBUILD_MARCH)$(KBUILD_ARCH_A)$(KBUILD_ARCH_C)
55 KBUILD_CFLAGS += -mno-save-restore
56 KBUILD_CFLAGS += -DCONFIG_PAGE_OFFSET=$(CONFIG_PAGE_OFFSET)
59 KBUILD_CFLAGS += -mcmodel=medlow
62 KBUILD_CFLAGS += -mcmodel=medany
74 KBUILD_CFLAGS += $(call cc-option,-mstrict-align)
/Linux-v4.19/arch/openrisc/
DMakefile24 LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
26 KBUILD_CFLAGS += -pipe -ffixed-r10 -D__linux__
29 KBUILD_CFLAGS += $(call cc-option,-mhard-mul)
31 KBUILD_CFLAGS += $(call cc-option,-msoft-mul)
35 KBUILD_CFLAGS += $(call cc-option,-mhard-div)
37 KBUILD_CFLAGS += $(call cc-option,-msoft-div)
/Linux-v4.19/arch/x86/boot/compressed/
DMakefile29 KBUILD_CFLAGS := -m$(BITS) -O2 macro
30 KBUILD_CFLAGS += -fno-strict-aliasing $(call cc-option, -fPIE, -fPIC)
31 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
34 KBUILD_CFLAGS += $(cflags-y)
35 KBUILD_CFLAGS += -mno-mmx -mno-sse
36 KBUILD_CFLAGS += $(call cc-option,-ffreestanding)
37 KBUILD_CFLAGS += $(call cc-option,-fno-stack-protector)
38 KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
39 KBUILD_CFLAGS += $(call cc-disable-warning, gnu)
40 KBUILD_CFLAGS += -Wno-pointer-sign
[all …]
/Linux-v4.19/scripts/
DMakefile.extrawarn14 KBUILD_CFLAGS += $(call cc-disable-warning, packed-not-aligned)
65 KBUILD_CFLAGS += $(warning)
69 KBUILD_CFLAGS += $(call cc-disable-warning, initializer-overrides)
70 KBUILD_CFLAGS += $(call cc-disable-warning, unused-value)
71 KBUILD_CFLAGS += $(call cc-disable-warning, format)
72 KBUILD_CFLAGS += $(call cc-disable-warning, sign-compare)
73 KBUILD_CFLAGS += $(call cc-disable-warning, format-zero-length)
74 KBUILD_CFLAGS += $(call cc-disable-warning, uninitialized)
/Linux-v4.19/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-v4.19/arch/hexagon/
DMakefile7 KBUILD_CFLAGS += -G0
11 KBUILD_CFLAGS += -fno-short-enums
23 KBUILD_CFLAGS += $(cflags-y)
30 KBUILD_CFLAGS += -ffixed-$(TIR_NAME) -DTHREADINFO_REG=$(TIR_NAME) -D__linux__
33 LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
/Linux-v4.19/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-v4.19/
DMakefile420 KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ macro
440 export KBUILD_CFLAGS CFLAGS_KERNEL CFLAGS_MODULE
493 KBUILD_CFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC) $(CLANG_PREFIX)
495 KBUILD_CFLAGS += $(call cc-option, -no-integrated-as)
508 KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
512 ifeq ($(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-goto.sh $(CC) $(KBUILD_CFLAGS)), y)
514 KBUILD_CFLAGS += -DCC_HAVE_ASM_GOTO
654 KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks,)
655 KBUILD_CFLAGS += $(call cc-disable-warning,frame-address,)
656 KBUILD_CFLAGS += $(call cc-disable-warning, format-truncation)
[all …]
/Linux-v4.19/arch/powerpc/
DMakefile27 KBUILD_CFLAGS += -mcpu=powerpc
78 KBUILD_CFLAGS += -mlittle-endian
85 KBUILD_CFLAGS += $(call cc-option,-mbig-endian)
109 KBUILD_CFLAGS += -m$(BITS)
190 KBUILD_CFLAGS += $(call cc-option,-msoft-float)
191 KBUILD_CFLAGS += -pipe -Iarch/$(ARCH) $(CFLAGS-y)
192 CPP = $(CC) -E $(KBUILD_CFLAGS)
207 KBUILD_CFLAGS += $(call cc-option,-mno-altivec)
208 KBUILD_CFLAGS += $(call cc-option,-mno-vsx)
212 KBUILD_CFLAGS += $(call cc-option,-mno-spe)
[all …]
/Linux-v4.19/arch/mips/vdso/
DMakefile7 $(filter -I%,$(KBUILD_CFLAGS)) \
8 $(filter -E%,$(KBUILD_CFLAGS)) \
9 $(filter -mmicromips,$(KBUILD_CFLAGS)) \
10 $(filter -march=%,$(KBUILD_CFLAGS)) \
14 ccflags-vdso += $(filter --target=%,$(KBUILD_CFLAGS))
18 $(filter -W%,$(filter-out -Wa$(comma)%,$(KBUILD_CFLAGS))) \
47 $(addprefix -Wl$(comma),$(filter -E%,$(KBUILD_CFLAGS))) \
82 native-abi := $(filter -mabi=%,$(KBUILD_CFLAGS))
92 $(obj-vdso): KBUILD_CFLAGS := $(cflags-vdso) $(native-abi) macro
121 $(obj-vdso-o32): KBUILD_CFLAGS := $(cflags-vdso) -mabi=32 macro
[all …]
/Linux-v4.19/arch/s390/purgatory/
DMakefile21 KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes macro
22 KBUILD_CFLAGS += -Wno-pointer-sign -Wno-sign-compare
23 KBUILD_CFLAGS += -fno-zero-initialized-in-bss -fno-builtin -ffreestanding
24 KBUILD_CFLAGS += -c -MD -Os -m64 -msoft-float -fno-common
25 KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
/Linux-v4.19/arch/nds32/
DMakefile12 KBUILD_CFLAGS += $(call cc-option, -mno-sched-prolog-epilog)
13 KBUILD_CFLAGS += -mcmodel=large
15 KBUILD_CFLAGS +=$(arch-y) $(tune-y)
38 KBUILD_CFLAGS += $(call cc-option, -EL)
43 KBUILD_CFLAGS += $(call cc-option, -EB)
/Linux-v4.19/arch/xtensa/
DMakefile44 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)
/Linux-v4.19/arch/mips/boot/compressed/
DMakefile21 KBUILD_CFLAGS := $(filter-out -pg, $(KBUILD_CFLAGS)) macro
23 KBUILD_CFLAGS := $(filter-out -fstack-protector, $(KBUILD_CFLAGS)) macro
25 KBUILD_CFLAGS := $(KBUILD_CFLAGS) -D__KERNEL__ \ macro
/Linux-v4.19/arch/parisc/boot/compressed/
DMakefile15 KBUILD_CFLAGS := -D__KERNEL__ -O2 -DBOOTLOADER macro
16 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
17 KBUILD_CFLAGS += $(cflags-y) -fno-delete-null-pointer-checks
18 KBUILD_CFLAGS += -fno-PIE -mno-space-regs -mdisable-fpregs -Os
20 KBUILD_CFLAGS += -mfast-indirect-calls
/Linux-v4.19/arch/unicore32/
DMakefile24 KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm)
27 KBUILD_CFLAGS += -msoft-float
30 KBUILD_CFLAGS += -mno-sched-prolog
/Linux-v4.19/arch/s390/
DMakefile18 KBUILD_CFLAGS += -m64
82 KBUILD_CFLAGS += -mwarn-dynamicstack
105 KBUILD_CFLAGS += -DCC_USING_HOTPATCH
113 KBUILD_CFLAGS += -mbackchain -msoft-float $(cflags-y)
114 KBUILD_CFLAGS += -pipe -fno-strength-reduce -Wno-sign-compare
115 KBUILD_CFLAGS += -fno-asynchronous-unwind-tables $(cfi)
/Linux-v4.19/arch/x86/purgatory/
DMakefile22 KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-zero-initialized-in-bss -fno-b… macro
23 KBUILD_CFLAGS += -m$(BITS)
24 KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
/Linux-v4.19/arch/sparc/vdso/
DMakefile5 KBUILD_CFLAGS += $(DISABLE_LTO)
59 -ffixed-g7 $(filter -g%,$(KBUILD_CFLAGS)) \
63 $(vobjs): KBUILD_CFLAGS += $(CFL)
90 KBUILD_CFLAGS_32 := $(filter-out -m64,$(KBUILD_CFLAGS))
100 $(obj)/vdso32.so.dbg: KBUILD_CFLAGS = $(KBUILD_CFLAGS_32) macro
/Linux-v4.19/arch/x86/entry/vdso/
DMakefile6 KBUILD_CFLAGS += $(DISABLE_LTO)
69 $(filter -g%,$(KBUILD_CFLAGS)) $(call cc-option, -fno-stack-protector) \
79 $(vobjs): KBUILD_CFLAGS := $(filter-out $(GCC_PLUGINS_CFLAGS) $(RETPOLINE_CFLAGS),$(KBUILD_CFLAGS))… macro
136 KBUILD_CFLAGS_32 := $(filter-out -m64,$(KBUILD_CFLAGS))
154 $(obj)/vdso32.so.dbg: KBUILD_CFLAGS = $(KBUILD_CFLAGS_32) macro
/Linux-v4.19/arch/s390/kernel/vdso32/
DMakefile14 KBUILD_CFLAGS += -DBUILD_VDSO
19 KBUILD_CFLAGS_31 := $(filter-out -m64,$(KBUILD_CFLAGS))
24 $(targets:%=$(obj)/%.dbg): KBUILD_CFLAGS = $(KBUILD_CFLAGS_31) macro
/Linux-v4.19/arch/s390/kernel/vdso64/
DMakefile14 KBUILD_CFLAGS += -DBUILD_VDSO
19 KBUILD_CFLAGS_64 := $(filter-out -m64,$(KBUILD_CFLAGS))
24 $(targets:%=$(obj)/%.dbg): KBUILD_CFLAGS = $(KBUILD_CFLAGS_64) macro

123