Merge tag 'kbuild-v5.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
Pull more Kbuild updates from Masahiro Yamada: - match the directory structure of the linux-libc-dev package to that of Debian-based distributions - fix incorrect include/config/auto.conf generation when Kconfig creates it along with the .config file - remove misleading $(AS) from documents - clean up precious tag files by distclean instead of mrproper - add a new coccinelle patch for devm_platform_ioremap_resource migration - refactor module-related scripts to read modules.order instead of $(MODVERDIR)/*.mod files to get the list of created modules - remove MODVERDIR - update list of header compile-test - add -fcf-protection=none flag to avoid conflict with the retpoline flags when CONFIG_RETPOLINE=y - misc cleanups * tag 'kbuild-v5.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (25 commits) kbuild: add -fcf-protection=none when using retpoline flags kbuild: update compile-test header list for v5.3-rc1 kbuild: split out *.mod out of {single,multi}-used-m rules kbuild: remove 'prepare1' target kbuild: remove the first line of *.mod files kbuild: create *.mod with full directory path and remove MODVERDIR kbuild: export_report: read modules.order instead of .tmp_versions/*.mod kbuild: modpost: read modules.order instead of $(MODVERDIR)/*.mod kbuild: modsign: read modules.order instead of $(MODVERDIR)/*.mod kbuild: modinst: read modules.order instead of $(MODVERDIR)/*.mod scsi: remove pointless $(MODVERDIR)/$(obj)/53c700.ver kbuild: remove duplication from modules.order in sub-directories kbuild: get rid of kernel/ prefix from in-tree modules.{order,builtin} kbuild: do not create empty modules.order in the prepare stage coccinelle: api: add devm_platform_ioremap_resource script kbuild: compile-test headers listed in header-test-m as well kbuild: remove unused hostcc-option kbuild: remove tag files by distclean instead of mrproper kbuild: add --hash-style= and --build-id unconditionally kbuild: get rid of misleading $(AS) from documents ...
This commit is contained in:
@@ -38,12 +38,11 @@ Additional options to the assembler (for built-in and modules).
|
||||
|
||||
AFLAGS_MODULE
|
||||
-------------
|
||||
Additional module specific options to use for $(AS).
|
||||
Additional assembler options for modules.
|
||||
|
||||
AFLAGS_KERNEL
|
||||
-------------
|
||||
Additional options for $(AS) when used for assembler
|
||||
code for code that is compiled as built-in.
|
||||
Additional assembler options for built-in.
|
||||
|
||||
KCFLAGS
|
||||
-------
|
||||
|
@@ -328,7 +328,7 @@ more details, with real examples.
|
||||
variable $(KBUILD_CFLAGS) and uses it for compilation flags for the
|
||||
entire tree.
|
||||
|
||||
asflags-y specifies options for assembling with $(AS).
|
||||
asflags-y specifies assembler options.
|
||||
|
||||
Example::
|
||||
|
||||
@@ -490,7 +490,7 @@ more details, with real examples.
|
||||
as-instr checks if the assembler reports a specific instruction
|
||||
and then outputs either option1 or option2
|
||||
C escapes are supported in the test instruction
|
||||
Note: as-instr-option uses KBUILD_AFLAGS for $(AS) options
|
||||
Note: as-instr-option uses KBUILD_AFLAGS for assembler options
|
||||
|
||||
cc-option
|
||||
cc-option is used to check if $(CC) supports a given option, and if
|
||||
@@ -906,7 +906,7 @@ When kbuild executes, the following steps are followed (roughly):
|
||||
vmlinux. The usage of $(call if_changed,xxx) will be described later.
|
||||
|
||||
KBUILD_AFLAGS
|
||||
$(AS) assembler flags
|
||||
Assembler flags
|
||||
|
||||
Default value - see top level Makefile
|
||||
Append or modify as required per architecture.
|
||||
@@ -949,16 +949,16 @@ When kbuild executes, the following steps are followed (roughly):
|
||||
to 'y' when selected.
|
||||
|
||||
KBUILD_AFLAGS_KERNEL
|
||||
$(AS) options specific for built-in
|
||||
Assembler options specific for built-in
|
||||
|
||||
$(KBUILD_AFLAGS_KERNEL) contains extra C compiler flags used to compile
|
||||
resident kernel code.
|
||||
|
||||
KBUILD_AFLAGS_MODULE
|
||||
Options for $(AS) when building modules
|
||||
Assembler options specific for modules
|
||||
|
||||
$(KBUILD_AFLAGS_MODULE) is used to add arch-specific options that
|
||||
are used for $(AS).
|
||||
are used for assembler.
|
||||
|
||||
From commandline AFLAGS_MODULE shall be used (see kbuild.txt).
|
||||
|
||||
|
Reference in New Issue
Block a user