| /linux/arch/x86/ |
| H A D | Makefile_32.cpu | 3 # 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 …]
|
| H A D | Makefile.um | 36 cflags-y += $(call cc-option,-mpreferred-stack-boundary=2) 40 cflags-y += -ffreestanding 42 KBUILD_CFLAGS += $(cflags-y)
|
| /linux/arch/mips/ |
| H A D | Makefile | 61 cflags-y += -mmcount-ra-address -DKBUILD_MCOUNT_RA_ADDRESS 65 cflags-y += $(call cc-option, -mno-check-zero-division) 72 cflags-y += -mabi=32 80 cflags-y += -mabi=64 97 cflags-y += -G 0 -mno-abicalls -fno-pic -pipe 98 cflags-y += -msoft-float -Wa,-msoft-float 103 cflags-y += -ffreestanding 105 cflags-$(CONFIG_CPU_BIG_ENDIAN) += -EB 106 cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += -EL 108 cflags-$(CONFIG_SB1XXX_CORELIS) += $(call cc-option,-mno-sched-prolog) \ [all …]
|
| /linux/scripts/ |
| H A D | Makefile.ubsan | 7 ubsan-cflags-$(CONFIG_UBSAN_ALIGNMENT) += -fsanitize=alignment 8 ubsan-cflags-$(CONFIG_UBSAN_BOUNDS_STRICT) += -fsanitize=bounds-strict 9 ubsan-cflags-$(CONFIG_UBSAN_ARRAY_BOUNDS) += -fsanitize=array-bounds 10 ubsan-cflags-$(CONFIG_UBSAN_LOCAL_BOUNDS) += -fsanitize=local-bounds 11 ubsan-cflags-$(CONFIG_UBSAN_SHIFT) += -fsanitize=shift 12 ubsan-cflags-$(CONFIG_UBSAN_DIV_ZERO) += -fsanitize=integer-divide-by-zero 13 ubsan-cflags-$(CONFIG_UBSAN_UNREACHABLE) += -fsanitize=unreachable 14 ubsan-cflags-$(CONFIG_UBSAN_BOOL) += -fsanitize=bool 15 ubsan-cflags-$(CONFIG_UBSAN_ENUM) += -fsanitize=enum 16 ubsan-cflags-$(CONFIG_UBSAN_TRAP) += $(CFLAGS_UBSAN_TRAP) [all …]
|
| H A D | Makefile.kstack_erase | 4 kstack-erase-cflags-y += -fplugin=$(objtree)/scripts/gcc-plugins/stackleak_plugin.so 5 kstack-erase-cflags-y += -fplugin-arg-stackleak_plugin-track-min-size=$(CONFIG_KSTACK_ERASE_TRACK_M… 6 kstack-erase-cflags-y += -fplugin-arg-stackleak_plugin-arch=$(SRCARCH) 7 kstack-erase-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK_VERBOSE) += -fplugin-arg-stackleak_plugin-verbose 12 kstack-erase-cflags-y += -fsanitize-coverage=stack-depth 13 kstack-erase-cflags-y += -fsanitize-coverage-stack-depth-callback-min=$(CONFIG_KSTACK_ERASE_TRACK_M… 17 KSTACK_ERASE_CFLAGS := $(kstack-erase-cflags-y)
|
| H A D | Makefile.randstruct | 3 randstruct-cflags-y += -DRANDSTRUCT 6 randstruct-cflags-y \ 8 randstruct-cflags-$(CONFIG_RANDSTRUCT_PERFORMANCE) \ 11 randstruct-cflags-y \ 15 export RANDSTRUCT_CFLAGS := $(randstruct-cflags-y)
|
| H A D | Makefile.kcsan | 12 kcsan-cflags := -fsanitize=thread -fno-optimize-sibling-calls \ 19 kcsan-cflags += -Wno-tsan 23 kcsan-cflags += $(call cc-option,$(call cc-param,tsan-instrument-func-entry-exit=0)) 26 export CFLAGS_KCSAN := $(kcsan-cflags)
|
| H A D | Makefile.kmsan | 2 kmsan-cflags := -fsanitize=kernel-memory 5 kmsan-cflags += -fsanitize-memory-param-retval 8 export CFLAGS_KMSAN := $(kmsan-cflags)
|
| /linux/arch/arc/ |
| H A D | Makefile | 12 cflags-y += -fno-common -pipe -fno-builtin -mmedium-calls -D__linux__ 18 cflags-y += $(tune-mcpu-def-y) 22 cflags-y += $(tune-mcpu) 27 cflags-y += $(tune-mcpu-def-y) 38 cflags-y += -ffixed-gp 41 cflags-y += -fsection-anchors 43 cflags-$(CONFIG_ARC_HAS_LLSC) += -mlock 44 cflags-$(CONFIG_ARC_HAS_SWAPE) += -mswape 49 cflags-y += -munaligned-access 51 cflags-y += -mno-unaligned-access [all …]
|
| /linux/scripts/kconfig/ |
| H A D | mconf-cfg.sh | 6 cflags=$1 14 ${HOSTPKG_CONFIG} --cflags ${PKG} > ${cflags} 20 ${HOSTPKG_CONFIG} --cflags ${PKG2} > ${cflags} 30 echo -D_GNU_SOURCE -I/usr/include/ncursesw > ${cflags} 36 echo -D_GNU_SOURCE -I/usr/include/ncurses > ${cflags} 44 echo -D_GNU_SOURCE > ${cflags}
|
| H A D | nconf-cfg.sh | 6 cflags=$1 14 ${HOSTPKG_CONFIG} --cflags ${PKG} > ${cflags} 20 ${HOSTPKG_CONFIG} --cflags ${PKG2} > ${cflags} 30 echo -D_GNU_SOURCE -I/usr/include/ncursesw > ${cflags} 36 echo -D_GNU_SOURCE -I/usr/include/ncurses > ${cflags} 42 echo -D_GNU_SOURCE > ${cflags}
|
| H A D | qconf-cfg.sh | 6 cflags=$1 21 ${HOSTPKG_CONFIG} --cflags ${PKG6} > ${cflags} 23 echo -std=c++17 >> ${cflags} 30 ${HOSTPKG_CONFIG} --cflags ${PKG5} > ${cflags}
|
| H A D | Makefile | 182 HOSTCFLAGS_nconf.o = $(call read-file, $(obj)/nconf-cflags) 183 HOSTCFLAGS_nconf.gui.o = $(call read-file, $(obj)/nconf-cflags) 186 $(obj)/nconf.o $(obj)/nconf.gui.o: | $(obj)/nconf-cflags 196 $(eval HOSTCFLAGS_$f = $$(call read-file, $(obj)/mconf-cflags))) 199 $(addprefix $(obj)/, mconf.o $(lxdialog)): | $(obj)/mconf-cflags 207 HOSTCXXFLAGS_qconf.o = -std=c++11 -fPIC $(call read-file, $(obj)/qconf-cflags) 208 HOSTCXXFLAGS_qconf-moc.o = -std=c++11 -fPIC $(call read-file, $(obj)/qconf-cflags) 210 $(obj)/qconf.o $(obj)/qconf-moc.o: | $(obj)/qconf-cflags 225 HOSTCFLAGS_gconf.o = $(call read-file, $(obj)/gconf-cflags) 228 $(obj)/gconf.o: | $(obj)/gconf-cflags [all …]
|
| H A D | gconf-cfg.sh | 6 cflags=$1 27 ${HOSTPKG_CONFIG} --cflags ${PKG} > ${cflags}
|
| /linux/arch/sh/ |
| H A D | Makefile | 32 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 …]
|
| /linux/arch/s390/ |
| H A D | Makefile | 57 cflags-y += $(mflags-y) 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 65 cflags-$(CONFIG_MARCH_Z16_TUNE) += -mtune=z16 66 cflags-$(CONFIG_MARCH_Z17_TUNE) += -mtune=z17 68 cflags-y += -Wa,-I$(srctree)/arch/$(ARCH)/include [all …]
|
| /linux/arch/mips/ralink/ |
| H A D | Platform | 4 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
|
| /linux/arch/parisc/ |
| H A D | Makefile | 82 cflags-y := -pipe 86 cflags-y += -mno-space-regs 90 cflags-y += -mfast-indirect-calls 96 cflags-y += -mdisable-fpregs 112 cflags-$(CONFIG_PA7000) += -march=1.1 -mschedule=7100 113 cflags-$(CONFIG_PA7200) += -march=1.1 -mschedule=7200 114 cflags-$(CONFIG_PA7100LC) += -march=1.1 -mschedule=7100LC 115 cflags-$(CONFIG_PA7300LC) += -march=1.1 -mschedule=7300 116 cflags-$(CONFIG_PA8X00) += -march=2.0 -mschedule=8000 118 KBUILD_CFLAGS += $(cflags-y)
|
| /linux/tools/perf/util/ |
| H A D | setup.py | 70 cflags = getenv('CFLAGS', '').split() variable 72 cflags += ['-fno-strict-aliasing', '-Wno-write-strings', '-Wno-unused-parameter', '-Wno-redundant-d… 74 cflags += ["-Wno-unused-command-line-argument" ] 76 cflags += ["-Wno-cast-function-type-mismatch" ] 78 cflags += ['-Wno-cast-function-type' ] 81 cflags += [ "-Wno-declaration-after-statement" ] 90 extra_compile_args = cflags,
|
| /linux/drivers/firmware/efi/libstub/ |
| H A D | Makefile | 10 cflags-y := $(KBUILD_CFLAGS) 12 cflags-$(CONFIG_X86_32) := -march=i386 13 cflags-$(CONFIG_X86_64) := -mcmodel=small 14 cflags-$(CONFIG_X86) += -m$(BITS) -D__KERNEL__ -std=gnu11 \ 25 cflags-$(CONFIG_ARM64) += -fpie $(DISABLE_KSTACK_ERASE) \ 27 cflags-$(CONFIG_ARM) += -DEFI_HAVE_STRLEN -DEFI_HAVE_STRNLEN \ 32 cflags-$(CONFIG_RISCV) += -fpic -DNO_ALTERNATIVE -mno-relax \ 34 cflags-$(CONFIG_LOONGARCH) += -fpie $(DISABLE_KSTACK_ERASE) 36 cflags-$(CONFIG_EFI_PARAMS_FROM_FDT) += -I$(srctree)/scripts/dtc/libfdt 38 KBUILD_CFLAGS := $(subst $(CC_FLAGS_FTRACE),,$(cflags-y)) \
|
| /linux/arch/alpha/ |
| H A D | Makefile | 15 cflags-y := -pipe -mno-fp-regs -ffixed-8 16 cflags-y += $(call cc-option, -fno-jump-tables) 27 cflags-y += $(cpuflags-y) 33 KBUILD_CFLAGS += $(cflags-y) -Wa,-mev6
|
| /linux/arch/mips/lantiq/ |
| H A D | Platform | 5 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
|
| /linux/arch/loongarch/ |
| H A D | Makefile | 62 cflags-y += -mabi=lp64s -mcmodel=normal 65 cflags-y += -pipe $(CC_FLAGS_NO_FPU) 85 cflags-y += $(call cc-option,-mexplicit-relocs) 91 cflags-y += $(call cc-option,-mno-explicit-relocs) 132 cflags-y += $(call cc-option, -mno-check-zero-division -fno-isolate-erroneous-paths-dereference) 135 cflags-y += -fno-builtin-memcpy -fno-builtin-memmove -fno-builtin-memset 143 KBUILD_AFLAGS += $(cflags-y) 144 KBUILD_CFLAGS += $(cflags-y)
|
| /linux/arch/mips/sibyte/ |
| H A D | Platform | 8 cflags-$(CONFIG_SIBYTE_BCM112X) += \ 12 cflags-$(CONFIG_SIBYTE_SB1250) += \ 16 cflags-$(CONFIG_SIBYTE_BCM1x80) += \
|
| /linux/drivers/crypto/bcm/ |
| H A D | spu.c | 29 u32 cflags; in spum_dump_msg_hdr() local 68 cflags = be32_to_cpu(spuh->sa.cipher_flags); in spum_dump_msg_hdr() 69 packet_log(" SCTX[1] 0x%08x\n", cflags); in spum_dump_msg_hdr() 71 (cflags & CIPHER_INBOUND) >> CIPHER_INBOUND_SHIFT); in spum_dump_msg_hdr() 73 (cflags & CIPHER_ORDER) >> CIPHER_ORDER_SHIFT); in spum_dump_msg_hdr() 75 (cflags & ICV_IS_512) >> ICV_IS_512_SHIFT); in spum_dump_msg_hdr() 76 cipher_alg = (cflags & CIPHER_ALG) >> CIPHER_ALG_SHIFT; in spum_dump_msg_hdr() 77 cipher_mode = (cflags & CIPHER_MODE) >> CIPHER_MODE_SHIFT; in spum_dump_msg_hdr() 78 cipher_type = (cflags & CIPHER_TYPE) >> CIPHER_TYPE_SHIFT; in spum_dump_msg_hdr() 81 hash_alg = (cflags & HASH_ALG) >> HASH_ALG_SHIFT; in spum_dump_msg_hdr() [all …]
|