Home
last modified time | relevance | path

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

123

/Linux-v5.4/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 …]
/Linux-v5.4/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.4/arch/x86/
DMakefile61 KBUILD_CFLAGS += -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
62 KBUILD_CFLAGS += $(call cc-option,-mno-avx,)
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
100 KBUILD_CFLAGS += $(call cc-option,-falign-jumps=1)
[all …]
DMakefile.um12 KBUILD_CFLAGS += $(call cc-option,-m32)
29 KBUILD_CFLAGS += $(cflags-y)
35 KBUILD_CFLAGS += -fno-builtin -m64
/Linux-v5.4/arch/riscv/
DMakefile24 KBUILD_CFLAGS += -mabi=lp64
32 KBUILD_CFLAGS += -mabi=ilp32
42 KBUILD_CFLAGS += -march=$(subst fd,,$(riscv-march-y))
45 KBUILD_CFLAGS += -mno-save-restore
46 KBUILD_CFLAGS += -DCONFIG_PAGE_OFFSET=$(CONFIG_PAGE_OFFSET)
49 KBUILD_CFLAGS += -mcmodel=medlow
52 KBUILD_CFLAGS += -mcmodel=medany
58 KBUILD_CFLAGS += -fno-omit-frame-pointer
67 KBUILD_CFLAGS += $(call cc-option,-mstrict-align)
/Linux-v5.4/arch/openrisc/
DMakefile23 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)
/Linux-v5.4/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.4/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-v5.4/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-v5.4/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 += $(CLANG_FLAGS)
26 KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
/Linux-v5.4/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.4/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)) \
22 ccflags-vdso += $(filter --target=%,$(KBUILD_CFLAGS))
30 $(filter -W%,$(filter-out -Wa$(comma)%,$(KBUILD_CFLAGS))) \
71 $(addprefix -Wl$(comma),$(filter -E%,$(KBUILD_CFLAGS))) \
110 native-abi := $(filter -mabi=%,$(KBUILD_CFLAGS))
[all …]
/Linux-v5.4/arch/powerpc/
DMakefile27 KBUILD_CFLAGS += -mcpu=powerpc
34 KBUILD_CFLAGS += -mcpu=powerpc
79 KBUILD_CFLAGS += -mlittle-endian
86 KBUILD_CFLAGS += $(call cc-option,-mbig-endian)
110 KBUILD_CFLAGS += -m$(BITS)
213 KBUILD_CFLAGS += $(call cc-option,-msoft-float)
214 KBUILD_CFLAGS += -pipe $(CFLAGS-y)
215 CPP = $(CC) -E $(KBUILD_CFLAGS)
230 KBUILD_CFLAGS += $(call cc-option,-mno-altivec)
231 KBUILD_CFLAGS += $(call cc-option,-mno-vsx)
[all …]
/Linux-v5.4/
DMakefile458 KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \ macro
480 export KBUILD_CFLAGS CFLAGS_KERNEL CFLAGS_MODULE
541 KBUILD_CFLAGS += $(CLANG_FLAGS)
697 KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks,)
698 KBUILD_CFLAGS += $(call cc-disable-warning,frame-address,)
699 KBUILD_CFLAGS += $(call cc-disable-warning, format-truncation)
700 KBUILD_CFLAGS += $(call cc-disable-warning, format-overflow)
701 KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
704 KBUILD_CFLAGS += -O2
706 KBUILD_CFLAGS += -O3
[all …]
/Linux-v5.4/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.4/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-v5.4/arch/s390/
DMakefile18 KBUILD_CFLAGS += -m64
20 KBUILD_CFLAGS += -fPIE
89 KBUILD_CFLAGS += -mwarn-dynamicstack
112 KBUILD_CFLAGS += -DCC_USING_HOTPATCH
120 KBUILD_CFLAGS += -mbackchain -msoft-float $(cflags-y)
121 KBUILD_CFLAGS += -pipe -Wno-sign-compare
122 KBUILD_CFLAGS += -fno-asynchronous-unwind-tables $(cfi)
/Linux-v5.4/arch/powerpc/xmon/
DMakefile13 ORIG_CFLAGS := $(KBUILD_CFLAGS)
14 KBUILD_CFLAGS = $(subst $(CC_FLAGS_FTRACE),,$(ORIG_CFLAGS)) macro
19 KBUILD_CFLAGS += -Wframe-larger-than=4096
/Linux-v5.4/arch/arm64/
DMakefile56 KBUILD_CFLAGS += -mgeneral-regs-only $(lseinstr) $(brokengasinst) \
58 KBUILD_CFLAGS += -fno-asynchronous-unwind-tables
59 KBUILD_CFLAGS += $(call cc-disable-warning, psabi)
62 KBUILD_CFLAGS += $(call cc-option,-mabi=lp64)
68 $(eval KBUILD_CFLAGS += -mstack-protector-guard=sysreg \
116 KBUILD_CFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
/Linux-v5.4/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-v5.4/arch/m68k/
DMakefile61 KBUILD_CFLAGS += $(cpuflags-y)
63 KBUILD_CFLAGS += -pipe -ffreestanding
67 KBUILD_CFLAGS += -fno-strength-reduce -ffixed-a2
70 KBUILD_CFLAGS += -DUTS_SYSNAME=\"uClinux\"
/Linux-v5.4/arch/sparc/vdso/
DMakefile6 KBUILD_CFLAGS += $(DISABLE_LTO)
57 $(filter -g%,$(KBUILD_CFLAGS)) $(call cc-option, -fno-stack-protector) \
63 $(vobjs): KBUILD_CFLAGS := $(filter-out $(GCC_PLUGINS_CFLAGS) $(SPARC_REG_CFLAGS),$(KBUILD_CFLAGS))… macro
90 KBUILD_CFLAGS_32 := $(filter-out -m64,$(KBUILD_CFLAGS))
101 $(obj)/vdso32.so.dbg: KBUILD_CFLAGS = $(KBUILD_CFLAGS_32) macro
/Linux-v5.4/arch/unicore32/
DMakefile24 KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm)
27 KBUILD_CFLAGS += -msoft-float
30 KBUILD_CFLAGS += -mno-sched-prolog
/Linux-v5.4/arch/parisc/boot/compressed/
DMakefile17 KBUILD_CFLAGS := -D__KERNEL__ -O2 -DBOOTLOADER macro
18 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
19 KBUILD_CFLAGS += $(cflags-y) -fno-delete-null-pointer-checks -fno-builtin-printf
20 KBUILD_CFLAGS += -fno-PIE -mno-space-regs -mdisable-fpregs -Os
22 KBUILD_CFLAGS += -mfast-indirect-calls
/Linux-v5.4/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)

123