Home
last modified time | relevance | path

Searched refs:cflags (Results 1 – 25 of 166) sorted by relevance

1234567

/kernel/linux/linux-5.10/arch/x86/
DMakefile_32.cpu3 # Must change only cflags-y (or [yn]), not CFLAGS! That makes a difference for UML.
13 cflags-$(CONFIG_M486SX) += -march=i486
14 cflags-$(CONFIG_M486) += -march=i486
15 cflags-$(CONFIG_M586) += -march=i586
16 cflags-$(CONFIG_M586TSC) += -march=i586
17 cflags-$(CONFIG_M586MMX) += -march=pentium-mmx
18 cflags-$(CONFIG_M686) += -march=i686
19 cflags-$(CONFIG_MPENTIUMII) += -march=i686 $(call tune,pentium2)
20 cflags-$(CONFIG_MPENTIUMIII) += -march=i686 $(call tune,pentium3)
21 cflags-$(CONFIG_MPENTIUMM) += -march=i686 $(call tune,pentium3)
[all …]
/kernel/linux/linux-5.10/arch/mips/
DMakefile62 cflags-y += -mmcount-ra-address -DKBUILD_MCOUNT_RA_ADDRESS
66 cflags-y += $(call cc-option, -mno-check-zero-division)
73 cflags-y += -mabi=32
81 cflags-y += -mabi=64
98 cflags-y += -G 0 -mno-abicalls -fno-pic -pipe
99 cflags-y += -msoft-float
114 cflags-y += -DGAS_HAS_SET_HARDFLOAT -Wa,-msoft-float
117 cflags-y += -ffreestanding
119 cflags-$(CONFIG_CPU_BIG_ENDIAN) += -EB
120 cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += -EL
[all …]
/kernel/linux/linux-5.10/arch/arc/
DMakefile12 cflags-y += -fno-common -pipe -fno-builtin -mmedium-calls -D__linux__
18 cflags-y += $(tune-mcpu-def-y)
23 cflags-y += $(tune-mcpu)
28 cflags-y += $(tune-mcpu-def-y)
42 cflags-y += -fsection-anchors
44 cflags-$(CONFIG_ARC_HAS_LLSC) += -mlock
45 cflags-$(CONFIG_ARC_HAS_SWAPE) += -mswape
50 cflags-y += -munaligned-access
52 cflags-y += -mno-unaligned-access
56 cflags-y += -mno-ll64
[all …]
/kernel/linux/linux-5.10/arch/s390/
DMakefile54 cflags-y += $(mflags-y)
56 cflags-$(CONFIG_MARCH_Z900_TUNE) += -mtune=z900
57 cflags-$(CONFIG_MARCH_Z990_TUNE) += -mtune=z990
58 cflags-$(CONFIG_MARCH_Z9_109_TUNE) += -mtune=z9-109
59 cflags-$(CONFIG_MARCH_Z10_TUNE) += -mtune=z10
60 cflags-$(CONFIG_MARCH_Z196_TUNE) += -mtune=z196
61 cflags-$(CONFIG_MARCH_ZEC12_TUNE) += -mtune=zEC12
62 cflags-$(CONFIG_MARCH_Z13_TUNE) += -mtune=z13
63 cflags-$(CONFIG_MARCH_Z14_TUNE) += -mtune=z14
64 cflags-$(CONFIG_MARCH_Z15_TUNE) += -mtune=z15
[all …]
/kernel/linux/linux-5.10/scripts/
DMakefile.gcc-plugins6 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_LATENT_ENTROPY) \
16 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE) \
18 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF) \
20 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL) \
26 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK) \
30 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_RANDSTRUCT) \
32 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_RANDSTRUCT_PERFORMANCE) \
36 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK) \
38 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK) \
40 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK) \
[all …]
/kernel/uniproton/
DBUILD.gn28 cflags = arch_cflags
29 ldflags = cflags
30 asmflags = cflags
34 cflags = [
38 asmflags = cflags
39 cflags_cc = cflags
81 cflags = base_flags
82 cflags += [
93 cflags = [
104 cflags_cc = cflags
[all …]
/kernel/liteos_a/
DBUILD.gn106 cflags = liteos_arch_cflags
107 asmflags = cflags
108 ldflags = cflags
111 cflags += [ "-mthumb-interwork" ]
115 cflags += [ "-mthumb" ]
117 cflags += [ "-mimplicit-it=thumb" ]
119 cflags += [ "-Wa,-mimplicit-it=thumb" ]
128 cflags = [
133 cflags += [ "-nostdinc" ]
135 asmflags = cflags
[all …]
/kernel/linux/linux-5.10/arch/sh/
DMakefile32 cflags-$(CONFIG_CPU_SH2) := $(call cc-option,-m2,)
33 cflags-$(CONFIG_CPU_J2) += $(call cc-option,-mj2,)
34 cflags-$(CONFIG_CPU_SH2A) += $(call cc-option,-m2a,) \
37 cflags-$(CONFIG_CPU_SH3) := $(call cc-option,-m3,)
38 cflags-$(CONFIG_CPU_SH4) := $(call cc-option,-m4,) \
40 cflags-$(CONFIG_CPU_SH4A) += $(call cc-option,-m4a,) \
42 cflags-$(CONFIG_CPU_SH4AL_DSP) += $(call cc-option,-m4al,)
44 ifeq ($(cflags-y),)
54 cflags-y += $(shell $(CC) $(KBUILD_CFLAGS) -print-multi-lib | \
73 cflags-$(CONFIG_CPU_BIG_ENDIAN) += -mb
[all …]
/kernel/linux/linux-5.10/arch/parisc/
DMakefile77 cflags-y := -pipe
81 cflags-y += -mno-space-regs
85 cflags-y += -mfast-indirect-calls
91 cflags-y += -mdisable-fpregs
107 cflags-$(CONFIG_PA7000) += -march=1.1 -mschedule=7100
108 cflags-$(CONFIG_PA7200) += -march=1.1 -mschedule=7200
109 cflags-$(CONFIG_PA7100LC) += -march=1.1 -mschedule=7100LC
110 cflags-$(CONFIG_PA7300LC) += -march=1.1 -mschedule=7300
111 cflags-$(CONFIG_PA8X00) += -march=2.0 -mschedule=8000
115 KBUILD_CFLAGS += $(cflags-y)
/kernel/linux/linux-5.10/arch/mips/ralink/
DPlatform4 cflags-$(CONFIG_RALINK) += -I$(srctree)/arch/mips/include/asm/mach-ralink
10 cflags-$(CONFIG_SOC_RT288X) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt288x
16 cflags-$(CONFIG_SOC_RT305X) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt305x
22 cflags-$(CONFIG_SOC_RT3883) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt3883
28 cflags-$(CONFIG_SOC_MT7620) += -I$(srctree)/arch/mips/include/asm/mach-ralink/mt7620
33 cflags-$(CONFIG_SOC_MT7621) += -I$(srctree)/arch/mips/include/asm/mach-ralink/mt7621
/kernel/linux/linux-5.10/arch/mips/loongson64/
DPlatform6 cflags-$(CONFIG_CPU_LOONGSON64) += -Wa,--trap
17 cflags-$(CONFIG_CPU_LOONGSON64) += \
20 cflags-$(CONFIG_CPU_LOONGSON64) += \
24 cflags-$(CONFIG_CPU_LOONGSON64) += \
30 cflags-y += $(call cc-option,-mno-loongson-mmi)
36 cflags-$(CONFIG_MACH_LOONGSON64) += -I$(srctree)/arch/mips/include/asm/mach-loongson64 -mno-branch-…
/kernel/linux/linux-5.10/arch/mips/loongson2ef/
DPlatform6 cflags-$(CONFIG_CPU_LOONGSON2EF) += -Wa,--trap
7 cflags-$(CONFIG_CPU_LOONGSON2E) += \
9 cflags-$(CONFIG_CPU_LOONGSON2F) += \
31 cflags-$(CONFIG_CPU_LOONGSON2EF) += $(call as-option,-Wa$(comma)-mno-fix-loongson3-llsc,)
38 cflags-$(CONFIG_CPU_NOP_WORKAROUNDS) += -Wa$(comma)-mfix-loongson2f-nop
43 cflags-$(CONFIG_CPU_JUMP_WORKAROUNDS) += -Wa$(comma)-mfix-loongson2f-jump
49 cflags-y += $(call cc-option,-mno-loongson-mmi)
55 cflags-$(CONFIG_MACH_LOONGSON2EF) += -I$(srctree)/arch/mips/include/asm/mach-loongson2ef -mno-branc…
/kernel/linux/linux-5.10/tools/perf/util/
Dsetup.py44 cflags = getenv('CFLAGS', '').split() variable
46 cflags += ['-fno-strict-aliasing', '-Wno-write-strings', '-Wno-unused-parameter', '-Wno-redundant-d…
48 cflags += ['-Wno-cast-function-type' ]
64 if '-DHAVE_LIBNUMA_SUPPORT' in cflags:
66 if '-DHAVE_LIBCAP_SUPPORT' in cflags:
73 extra_compile_args = cflags,
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
DMakefile8 cflags-$(CONFIG_X86_32) := -march=i386
9 cflags-$(CONFIG_X86_64) := -mcmodel=small
10 cflags-$(CONFIG_X86) += -m$(BITS) -D__KERNEL__ \
21 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)) \
30 cflags-$(CONFIG_EFI_GENERIC_STUB) += -I$(srctree)/scripts/dtc/libfdt
32 KBUILD_CFLAGS := $(cflags-y) -Os -DDISABLE_BRANCH_PROFILING \
/kernel/linux/linux-5.10/arch/mips/netlogic/
DPlatform4 cflags-$(CONFIG_NLM_COMMON) += -I$(srctree)/arch/mips/include/asm/mach-netlogic
5 cflags-$(CONFIG_NLM_COMMON) += -I$(srctree)/arch/mips/include/asm/netlogic
10 cflags-$(CONFIG_CPU_XLR) += $(call cc-option,-march=xlr,-march=mips64)
11 cflags-$(CONFIG_CPU_XLP) += $(call cc-option,-march=xlp,-march=mips64r2)
/kernel/liteos_a/testsuites/unittest/
DBUILD.gn46 cflags = [ "-DLOSCFG_USER_TEST_SMOKE" ]
47 cflags += local_flags
48 cflags_cc = cflags
52 cflags = [
56 cflags += local_flags
57 cflags_cc = cflags
61 cflags = [ "-DLOSCFG_USER_TEST_PRESSURE" ]
62 cflags += local_flags
63 cflags_cc = cflags
/kernel/linux/linux-5.10/arch/c6x/
DMakefile11 cflags-y += -mno-dsbt -msdata=none -D__linux__
13 cflags-$(CONFIG_C6X_BIG_KERNEL) += -mlong-calls
19 KBUILD_CFLAGS += $(cflags-y)
20 KBUILD_AFLAGS += $(cflags-y)
/kernel/linux/linux-5.10/drivers/clocksource/
Dtimer-nps.c140 unsigned int cflags, enabled_threads; in nps_clkevent_rm_thread() local
142 hw_schd_save(&cflags); in nps_clkevent_rm_thread()
158 hw_schd_restore(cflags); in nps_clkevent_rm_thread()
164 unsigned int cflags, enabled_threads; in nps_clkevent_add_thread() local
166 hw_schd_save(&cflags); in nps_clkevent_add_thread()
180 hw_schd_restore(cflags); in nps_clkevent_add_thread()
/kernel/linux/linux-5.10/arch/mips/sibyte/
DPlatform8 cflags-$(CONFIG_SIBYTE_BCM112X) += \
12 cflags-$(CONFIG_SIBYTE_SB1250) += \
16 cflags-$(CONFIG_SIBYTE_BCM1x55) += \
20 cflags-$(CONFIG_SIBYTE_BCM1x80) += \
/kernel/linux/linux-5.10/arch/h8300/
DMakefile13 cflags-$(CONFIG_CPU_H8300H) := -mh
16 cflags-$(CONFIG_CPU_H8S) := -ms
20 KBUILD_CFLAGS += $(cflags-y)
/kernel/linux/linux-5.10/arch/mips/lantiq/
DPlatform5 cflags-$(CONFIG_LANTIQ) += -I$(srctree)/arch/mips/include/asm/mach-lantiq
7 cflags-$(CONFIG_SOC_TYPE_XWAY) += -I$(srctree)/arch/mips/include/asm/mach-lantiq/xway
8 cflags-$(CONFIG_SOC_FALCON) += -I$(srctree)/arch/mips/include/asm/mach-lantiq/falcon
/kernel/linux/linux-5.10/arch/alpha/
DMakefile15 cflags-y := -pipe -mno-fp-regs -ffixed-8
16 cflags-y += $(call cc-option, -fno-jump-tables)
31 cflags-y += $(cpuflags-y)
37 KBUILD_CFLAGS += $(cflags-y) -Wa,-mev6
/kernel/uniproton/cmake/functions/
Duniproton_functions.cmake43 function(cc_object target sources cppincs cflags component_name working_directory)
48 # @cflags List[str]: the c compile flags of list
65 …COMMAND ${cc} ${${cflags}} -I${target_incflags} -o ${obj_install_dir}/${target_name} -c ${new_sou…
83 function(asm_object target sources cflags component_name working_directory)
88 # @cflags List[str]: the c compile flags of list
103 COMMAND ${asm} ${${cflags}} -o ${obj_install_dir}/${target_name} -c ${new_source_path}
129 # @cflags List[str]: the c compile flags of list
154 # @cflags List[str]: the c compile flags of list
/kernel/liteos_m/
DBUILD.gn48 cflags = arch_config_cflags
54 cflags = stdinc_config_cflags
60 cflags += [
68 cflags = ssp_config_cflags
73 cflags = optimize_config_cflags
78 cflags = kconfig_config_cflags
83 cflags = warn_config_cflags
102 cflags = misc_config_cflags
/kernel/liteos_a/testsuites/unittest/libc/sys/smoke/
Dsys_test_008.cpp39 int cflags; in TestCase() local
46 cflags = REG_EXTENDED | REG_ICASE | REG_NOSUB; in TestCase()
48 ret = regcomp(&reg, regStr, cflags); in TestCase()

1234567