Lines Matching refs:option
171 # Each configuration option enables a list of files.
284 corresponding CONFIG_ option is neither 'y' nor 'm'.
362 Thus, if you change an option to $(CC) all affected files will
424 as-option
425 as-option is used to check if $(CC) -- when used to compile
426 assembler (*.S) files -- supports the given option. An optional
427 second option may be specified if the first option is not supported.
431 cflags-y += $(call as-option,-Wa$(comma)-isa=$(isa-y),)
433 In the above example, cflags-y will be assigned the option
440 supports the given option. An optional second option may be
441 specified if first option are not supported.
447 In the above example, vsyscall-flags will be assigned the option
456 Note: as-instr-option uses KBUILD_AFLAGS for $(AS) options
458 cc-option
459 cc-option is used to check if $(CC) supports a given option, and if
460 not supported to use an optional second option.
464 cflags-y += $(call cc-option,-march=pentium-mmx,-march=i586)
466 In the above example, cflags-y will be assigned the option
468 The second argument to cc-option is optional, and if omitted,
469 cflags-y will be assigned no value if first option is not supported.
470 Note: cc-option uses KBUILD_CFLAGS for $(CC) options
472 cc-option-yn
473 cc-option-yn is used to check if gcc supports a given option
478 biarch := $(call cc-option-yn, -m32)
483 option. When $(biarch) equals 'y', the expanded variables $(aflags-y)
486 Note: cc-option-yn uses KBUILD_CFLAGS for $(CC) options
488 cc-option-align
490 alignment of functions, loops etc. $(cc-option-align), when used
493 cc-option-align = -malign
495 cc-option-align = -falign
498 KBUILD_CFLAGS += $(cc-option-align)-functions=4
500 In the above example, the option -falign-functions=4 is used for
502 Note: cc-option-align uses KBUILD_CFLAGS for $(CC) options
507 because gcc 4.4 and later accept any unknown -Wno-* option and only
522 even though the option was accepted by gcc.
588 ld-option
589 ld-option is used to check if $(LD) supports the supplied option.
590 ld-option takes two options as arguments.
591 The second argument is an optional option that can be used if the
592 first option is not supported by $(LD).
596 LDFLAGS_vmlinux += $(call ld-option, -X)
694 When linking qconf, it will be passed the extra option
911 cflags-$(CONFIG_MPENTIUMII) += $(call cc-option,\
915 KBUILD_CFLAGS += $(call cc-option,-fno-unit-at-a-time)
919 The first example utilises the trick that a config option expands
953 mode) if this option is supported by $(AR).
1380 default option --strip-debug will be used. Otherwise, the
1381 INSTALL_MOD_STRIP value will be used as the option(s) to the strip