Home
last modified time | relevance | path

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

123

/Linux-v6.1/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-v6.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-v6.1/arch/x86/
DMakefile70 KBUILD_CFLAGS += -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx
83 KBUILD_CFLAGS += $(call cc-option,-fcf-protection=branch -fno-jump-tables)
85 KBUILD_CFLAGS += $(call cc-option,-fcf-protection=none)
94 KBUILD_CFLAGS += -m32
96 KBUILD_CFLAGS += -msoft-float -mregparm=3 -freg-struct-return
100 KBUILD_CFLAGS += -fno-pic
105 KBUILD_CFLAGS += $(cc_stack_align4)
109 KBUILD_CFLAGS += $(cflags-y)
112 KBUILD_CFLAGS += -ffreestanding
116 KBUILD_CFLAGS += -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard
[all …]
DMakefile.um12 KBUILD_CFLAGS += $(call cc-option,-m32)
29 KBUILD_CFLAGS += $(cflags-y)
35 KBUILD_CFLAGS += -fno-builtin -m64
/Linux-v6.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-v6.1/arch/x86/boot/compressed/
DMakefile36 KBUILD_CFLAGS := -m$(BITS) -O2 $(CLANG_FLAGS) macro
37 KBUILD_CFLAGS += -fno-strict-aliasing -fPIE
38 KBUILD_CFLAGS += -Wundef
39 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
42 KBUILD_CFLAGS += $(cflags-y)
43 KBUILD_CFLAGS += -mno-mmx -mno-sse
44 KBUILD_CFLAGS += -ffreestanding -fshort-wchar
45 KBUILD_CFLAGS += -fno-stack-protector
46 KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
47 KBUILD_CFLAGS += $(call cc-disable-warning, gnu)
[all …]
/Linux-v6.1/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)) \
29 cflags-$(CONFIG_LOONGARCH) := $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) \
34 KBUILD_CFLAGS := $(cflags-y) -Os -DDISABLE_BRANCH_PROFILING \ macro
47 KBUILD_CFLAGS := $(filter-out $(RANDSTRUCT_CFLAGS), $(KBUILD_CFLAGS)) macro
50 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_SCS), $(KBUILD_CFLAGS)) macro
52 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_CFI), $(KBUILD_CFLAGS)) macro
54 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_LTO), $(KBUILD_CFLAGS)) macro
/Linux-v6.1/arch/loongarch/vdso/
DMakefile13 $(filter -I%,$(KBUILD_CFLAGS)) \
14 $(filter -E%,$(KBUILD_CFLAGS)) \
15 $(filter -march=%,$(KBUILD_CFLAGS)) \
16 $(filter -m%-float,$(KBUILD_CFLAGS)) \
20 ccflags-vdso += $(filter --target=%,$(KBUILD_CFLAGS))
25 $(filter -W%,$(filter-out -Wa$(comma)%,$(KBUILD_CFLAGS))) \
39 $(filter -E%,$(KBUILD_CFLAGS)) -nostdlib -shared \
66 native-abi := $(filter -mabi=%,$(KBUILD_CFLAGS))
73 $(obj-vdso): KBUILD_CFLAGS := $(cflags-vdso) $(native-abi) macro
/Linux-v6.1/arch/riscv/
DMakefile26 KBUILD_CFLAGS += -mabi=lp64
34 KBUILD_CFLAGS += -mabi=ilp32
41 KBUILD_CFLAGS += -mno-relax
44 KBUILD_CFLAGS += -Wa,-mno-relax
67 KBUILD_CFLAGS += -march=$(subst fd,,$(riscv-march-y))
70 KBUILD_CFLAGS += -mno-save-restore
71 KBUILD_CFLAGS += -DCONFIG_PAGE_OFFSET=$(CONFIG_PAGE_OFFSET)
74 KBUILD_CFLAGS += -mcmodel=medlow
77 KBUILD_CFLAGS += -mcmodel=medany
80 KBUILD_CFLAGS += -fno-omit-frame-pointer
[all …]
/Linux-v6.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-v6.1/arch/arm64/kernel/pi/
DMakefile4 KBUILD_CFLAGS := $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) -fpie \ macro
13 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_SCS), $(KBUILD_CFLAGS)) macro
15 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_LTO), $(KBUILD_CFLAGS)) macro
/Linux-v6.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-v6.1/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-v6.1/arch/powerpc/
DMakefile59 KBUILD_CFLAGS += -mlittle-endian
66 KBUILD_CFLAGS += $(call cc-option,-mbig-endian)
92 KBUILD_CFLAGS += -m$(BITS)
179 KBUILD_CFLAGS += $(call cc-option,-msoft-float)
180 KBUILD_CFLAGS += -pipe $(CFLAGS-y)
181 CPP = $(CC) -E $(KBUILD_CFLAGS)
196 KBUILD_CFLAGS += $(call cc-option,-mno-prefixed)
197 KBUILD_CFLAGS += $(call cc-option,-mno-pcrel)
200 KBUILD_CFLAGS += $(call cc-option,-mno-altivec)
201 KBUILD_CFLAGS += $(call cc-option,-mno-vsx)
[all …]
/Linux-v6.1/
DMakefile562 KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \ macro
612 export KBUILD_CFLAGS CFLAGS_KERNEL CFLAGS_MODULE
817 KBUILD_CFLAGS += -fno-delete-null-pointer-checks
818 KBUILD_CFLAGS += $(call cc-disable-warning,frame-address,)
819 KBUILD_CFLAGS += $(call cc-disable-warning, format-truncation)
820 KBUILD_CFLAGS += $(call cc-disable-warning, format-overflow)
821 KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
824 KBUILD_CFLAGS += -O2
827 KBUILD_CFLAGS += -Os
840 KBUILD_CFLAGS += $(call cc-option,--param=allow-store-data-races=0)
[all …]
/Linux-v6.1/arch/mips/vdso/
DMakefile16 $(filter -I%,$(KBUILD_CFLAGS)) \
17 $(filter -E%,$(KBUILD_CFLAGS)) \
18 $(filter -mmicromips,$(KBUILD_CFLAGS)) \
19 $(filter -march=%,$(KBUILD_CFLAGS)) \
20 $(filter -m%-float,$(KBUILD_CFLAGS)) \
21 $(filter -mno-loongson-%,$(KBUILD_CFLAGS)) \
34 $(filter -W%,$(filter-out -Wa$(comma)%,$(KBUILD_CFLAGS))) \
63 $(filter -E%,$(KBUILD_CFLAGS)) -shared \
105 native-abi := $(filter -mabi=%,$(KBUILD_CFLAGS))
115 $(obj-vdso): KBUILD_CFLAGS := $(cflags-vdso) $(native-abi) macro
[all …]
/Linux-v6.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,)
39 KBUILD_CFLAGS += -mabi=call0
/Linux-v6.1/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 \
89 KBUILD_CFLAGS += $(branch-prot-flags-y)
102 KBUILD_CFLAGS += -Wa,-march=$(asm-arch) \
107 KBUILD_CFLAGS += -ffixed-x18
142 KBUILD_CFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
/Linux-v6.1/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-v6.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-v6.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)
135 KBUILD_CFLAGS +=$(CFLAGS_ABI) $(CFLAGS_ISA) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes…
260 $(eval KBUILD_CFLAGS += \
271 $(eval KBUILD_CFLAGS += $(SSP_PLUGIN_CFLAGS))
/Linux-v6.1/arch/loongarch/
DMakefile82 KBUILD_CFLAGS += $(cflags-y)
87 KBUILD_CFLAGS += -fno-asynchronous-unwind-tables
92 KBUILD_CFLAGS += $(call cc-option,-mstrict-align)
94 KBUILD_CFLAGS += -isystem $(shell $(CC) -print-file-name=include)
99 CHECKFLAGS += $(shell $(CC) $(KBUILD_CFLAGS) -dM -E -x c /dev/null | \
/Linux-v6.1/arch/s390/
DMakefile16 KBUILD_CFLAGS += -m64
17 KBUILD_CFLAGS += -fPIE
103 KBUILD_CFLAGS += -DCC_USING_HOTPATCH
111 KBUILD_CFLAGS += -mpacked-stack -mbackchain -msoft-float $(cflags-y)
112 KBUILD_CFLAGS += -pipe -Wno-sign-compare
113 KBUILD_CFLAGS += -fno-asynchronous-unwind-tables $(cfi)
/Linux-v6.1/arch/sparc/vdso/
DMakefile55 $(filter -g%,$(KBUILD_CFLAGS)) -fno-stack-protector \
61 $(vobjs): KBUILD_CFLAGS := $(filter-out $(RANDSTRUCT_CFLAGS) $(GCC_PLUGINS_CFLAGS) $(SPARC_REG_CFLA… macro
88 KBUILD_CFLAGS_32 := $(filter-out -m64,$(KBUILD_CFLAGS))
100 $(obj)/vdso32.so.dbg: KBUILD_CFLAGS = $(KBUILD_CFLAGS_32) macro

123