Home
last modified time | relevance | path

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

123

/linux/scripts/
A DMakefile.extrawarn38 KBUILD_CFLAGS += -Wno-type-limits
49 KBUILD_CFLAGS += -Wno-format
64 KBUILD_CFLAGS += -Wshadow
67 KBUILD_CFLAGS += -Wtype-limits
81 KBUILD_CFLAGS += -Wcast-align
82 KBUILD_CFLAGS += -Wcast-qual
83 KBUILD_CFLAGS += -Wconversion
84 KBUILD_CFLAGS += -Wpacked
85 KBUILD_CFLAGS += -Wpadded
86 KBUILD_CFLAGS += -Wpointer-arith
[all …]
A 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/arch/x86/
A DMakefile62 KBUILD_CFLAGS += -m32
68 KBUILD_CFLAGS += -fno-pic
77 KBUILD_CFLAGS += $(cflags-y)
80 KBUILD_CFLAGS += -ffreestanding
95 KBUILD_CFLAGS += -m64
104 KBUILD_CFLAGS += -mno-80387
125 KBUILD_CFLAGS += $(cflags-y)
127 KBUILD_CFLAGS += -mno-red-zone
164 KBUILD_CFLAGS += -Wno-sign-compare
170 KBUILD_CFLAGS += $(RETPOLINE_CFLAGS)
[all …]
A DMakefile.um12 KBUILD_CFLAGS += $(call cc-option,-m32)
29 KBUILD_CFLAGS += $(cflags-y)
35 KBUILD_CFLAGS += -fno-builtin -m64
/linux/arch/nios2/
A 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/arch/x86/boot/compressed/
A 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
43 KBUILD_CFLAGS += -Wno-pointer-sign
46 KBUILD_CFLAGS += -D__DISABLE_EXPORTS
[all …]
/linux/arch/riscv/
A DMakefile26 KBUILD_CFLAGS += -mabi=lp64
34 KBUILD_CFLAGS += -mabi=ilp32
40 KBUILD_CFLAGS += -mno-relax
43 KBUILD_CFLAGS += -Wa,-mno-relax
53 KBUILD_CFLAGS += -march=$(subst fd,,$(riscv-march-y))
56 KBUILD_CFLAGS += -mno-save-restore
60 KBUILD_CFLAGS += -mcmodel=medlow
63 KBUILD_CFLAGS += -mcmodel=medany
66 KBUILD_CFLAGS += -fno-omit-frame-pointer
75 KBUILD_CFLAGS += $(call cc-option,-mstrict-align)
[all …]
/linux/arch/openrisc/
A DMakefile21 LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
23 KBUILD_CFLAGS += -pipe -ffixed-r10 -D__linux__
30 KBUILD_CFLAGS += $(call cc-option,-mhard-mul)
32 KBUILD_CFLAGS += $(call cc-option,-msoft-mul)
36 KBUILD_CFLAGS += $(call cc-option,-mhard-div)
38 KBUILD_CFLAGS += $(call cc-option,-msoft-div)
/linux/
A DMakefile758 KBUILD_CFLAGS += -O2
760 KBUILD_CFLAGS += -O3
762 KBUILD_CFLAGS += -Os
789 KBUILD_CFLAGS += $(stackp-flags-y)
792 KBUILD_CFLAGS += $(KBUILD_CFLAGS-y) $(CONFIG_CC_IMPLICIT_FALLTHROUGH:"%"=%)
797 KBUILD_CFLAGS += -Wno-gnu
805 KBUILD_CFLAGS += -Wno-main
892 KBUILD_CFLAGS += $(CC_FLAGS_SCS)
936 KBUILD_CFLAGS += $(CC_FLAGS_CFI)
951 KBUILD_CFLAGS += -Wvla
[all …]
/linux/arch/sparc/
A 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/arch/s390/purgatory/
A 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/arch/hexagon/
A 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/arch/mips/vdso/
A 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)) -shared \
102 native-abi := $(filter -mabi=%,$(KBUILD_CFLAGS))
112 $(obj-vdso): KBUILD_CFLAGS := $(cflags-vdso) $(native-abi) macro
[all …]
/linux/arch/powerpc/
A DMakefile25 KBUILD_CFLAGS += -mcpu=powerpc
32 KBUILD_CFLAGS += -mcpu=powerpc
76 KBUILD_CFLAGS += -mlittle-endian
109 KBUILD_CFLAGS += -m$(BITS)
209 KBUILD_CFLAGS += -pipe $(CFLAGS-y)
210 CPP = $(CC) -E $(KBUILD_CFLAGS)
226 KBUILD_CFLAGS += $(call cc-option,-mno-vsx)
230 KBUILD_CFLAGS += $(call cc-option,-mno-spe)
231 KBUILD_CFLAGS += $(call cc-option,-mspe=no)
252 KBUILD_CFLAGS += $(cpu-as-y)
[all …]
/linux/drivers/firmware/efi/libstub/
A 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/arch/nds32/
A DMakefile13 KBUILD_CFLAGS += -isystem $(shell $(CC) -print-file-name=include)
14 KBUILD_CFLAGS += $(call cc-option, -mno-sched-prolog-epilog)
15 KBUILD_CFLAGS += -mcmodel=large
17 KBUILD_CFLAGS +=$(arch-y) $(tune-y)
41 KBUILD_CFLAGS += $(call cc-option, -EL)
46 KBUILD_CFLAGS += $(call cc-option, -EB)
/linux/arch/arm64/
A 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/arch/h8300/
A DMakefile20 KBUILD_CFLAGS += $(cflags-y)
21 KBUILD_CFLAGS += -mint32 -fno-builtin
22 KBUILD_CFLAGS += -D__linux__
23 KBUILD_CFLAGS += -DUTS_SYSNAME=\"uClinux\"
/linux/arch/xtensa/
A 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,)
56 LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
/linux/arch/mips/boot/compressed/
A 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/arch/parisc/boot/compressed/
A DMakefile18 KBUILD_CFLAGS := -D__KERNEL__ -O2 -DBOOTLOADER macro
19 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
20 KBUILD_CFLAGS += -fno-strict-aliasing
21 KBUILD_CFLAGS += $(cflags-y) -fno-delete-null-pointer-checks -fno-builtin-printf
22 KBUILD_CFLAGS += -fno-PIE -mno-space-regs -mdisable-fpregs -Os
24 KBUILD_CFLAGS += -mfast-indirect-calls
/linux/arch/s390/
A DMakefile16 KBUILD_CFLAGS += -m64
18 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/arch/sparc/vdso/
A 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/arch/um/
A 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/arch/arm/
A DMakefile23 KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm)
31 KBUILD_CFLAGS += $(call cc-option,-mno-unaligned-access)
35 KBUILD_CFLAGS +=-fno-omit-frame-pointer
37 KBUILD_CFLAGS += -mapcs -mno-sched-prolog
57 KBUILD_CFLAGS += $(call cc-option,-fno-ipa-sra)
132 KBUILD_CFLAGS +=$(CFLAGS_ABI) $(CFLAGS_ISA) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes…
283 $(eval KBUILD_CFLAGS += $(SSP_PLUGIN_CFLAGS))

Completed in 25 milliseconds

123