mirror of
https://github.com/torvalds/linux
synced 2024-10-06 19:34:19 +00:00
kbuild: trivial - fix comment block indent
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
parent
38385f8f01
commit
3fbb43df98
33
Makefile
33
Makefile
|
@ -255,18 +255,18 @@ endif
|
||||||
KBUILD_MODULES :=
|
KBUILD_MODULES :=
|
||||||
KBUILD_BUILTIN := 1
|
KBUILD_BUILTIN := 1
|
||||||
|
|
||||||
# If we have only "make modules", don't compile built-in objects.
|
# If we have only "make modules", don't compile built-in objects.
|
||||||
# When we're building modules with modversions, we need to consider
|
# When we're building modules with modversions, we need to consider
|
||||||
# the built-in objects during the descend as well, in order to
|
# the built-in objects during the descend as well, in order to
|
||||||
# make sure the checksums are up to date before we record them.
|
# make sure the checksums are up to date before we record them.
|
||||||
|
|
||||||
ifeq ($(MAKECMDGOALS),modules)
|
ifeq ($(MAKECMDGOALS),modules)
|
||||||
KBUILD_BUILTIN := $(if $(CONFIG_MODVERSIONS),1)
|
KBUILD_BUILTIN := $(if $(CONFIG_MODVERSIONS),1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# If we have "make <whatever> modules", compile modules
|
# If we have "make <whatever> modules", compile modules
|
||||||
# in addition to whatever we do anyway.
|
# in addition to whatever we do anyway.
|
||||||
# Just "make" or "make all" shall build modules as well
|
# Just "make" or "make all" shall build modules as well
|
||||||
|
|
||||||
ifneq ($(filter all _all modules,$(MAKECMDGOALS)),)
|
ifneq ($(filter all _all modules,$(MAKECMDGOALS)),)
|
||||||
KBUILD_MODULES := 1
|
KBUILD_MODULES := 1
|
||||||
|
@ -342,7 +342,6 @@ $(srctree)/scripts/Kbuild.include: ;
|
||||||
include $(srctree)/scripts/Kbuild.include
|
include $(srctree)/scripts/Kbuild.include
|
||||||
|
|
||||||
# Make variables (CC, etc...)
|
# Make variables (CC, etc...)
|
||||||
|
|
||||||
AS = $(CROSS_COMPILE)as
|
AS = $(CROSS_COMPILE)as
|
||||||
LD = $(CROSS_COMPILE)ld
|
LD = $(CROSS_COMPILE)ld
|
||||||
CC = $(CROSS_COMPILE)gcc
|
CC = $(CROSS_COMPILE)gcc
|
||||||
|
@ -781,10 +780,10 @@ MODLIB = $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
|
||||||
export MODLIB
|
export MODLIB
|
||||||
|
|
||||||
#
|
#
|
||||||
# INSTALL_MOD_STRIP, if defined, will cause modules to be
|
# INSTALL_MOD_STRIP, if defined, will cause modules to be
|
||||||
# stripped after they are installed. If INSTALL_MOD_STRIP is '1', then
|
# stripped after they are installed. If INSTALL_MOD_STRIP is '1', then
|
||||||
# the default option --strip-debug will be used. Otherwise,
|
# the default option --strip-debug will be used. Otherwise,
|
||||||
# INSTALL_MOD_STRIP value will be used as the options to the strip command.
|
# INSTALL_MOD_STRIP value will be used as the options to the strip command.
|
||||||
|
|
||||||
ifdef INSTALL_MOD_STRIP
|
ifdef INSTALL_MOD_STRIP
|
||||||
ifeq ($(INSTALL_MOD_STRIP),1)
|
ifeq ($(INSTALL_MOD_STRIP),1)
|
||||||
|
@ -1027,11 +1026,11 @@ ifdef CONFIG_MODULES
|
||||||
|
|
||||||
all: modules
|
all: modules
|
||||||
|
|
||||||
# Build modules
|
# Build modules
|
||||||
#
|
#
|
||||||
# A module can be listed more than once in obj-m resulting in
|
# A module can be listed more than once in obj-m resulting in
|
||||||
# duplicate lines in modules.order files. Those are removed
|
# duplicate lines in modules.order files. Those are removed
|
||||||
# using awk while concatenating to the final file.
|
# using awk while concatenating to the final file.
|
||||||
|
|
||||||
PHONY += modules
|
PHONY += modules
|
||||||
modules: $(vmlinux-dirs) $(if $(KBUILD_BUILTIN),vmlinux) modules.builtin
|
modules: $(vmlinux-dirs) $(if $(KBUILD_BUILTIN),vmlinux) modules.builtin
|
||||||
|
@ -1110,7 +1109,7 @@ CLEAN_DIRS += $(MODVERDIR)
|
||||||
|
|
||||||
# Directories & files removed with 'make mrproper'
|
# Directories & files removed with 'make mrproper'
|
||||||
MRPROPER_DIRS += include/config usr/include include/generated \
|
MRPROPER_DIRS += include/config usr/include include/generated \
|
||||||
arch/*/include/generated .tmp_objdiff
|
arch/*/include/generated .tmp_objdiff
|
||||||
MRPROPER_FILES += .config .config.old .version .old_version $(version_h) \
|
MRPROPER_FILES += .config .config.old .version .old_version $(version_h) \
|
||||||
Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \
|
Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \
|
||||||
signing_key.priv signing_key.x509 x509.genkey \
|
signing_key.priv signing_key.x509 x509.genkey \
|
||||||
|
|
Loading…
Reference in a new issue