Revert "kbuild: force to build vmlinux if CONFIG_MODVERSION=y"
This reverts commit 5ec83ff488
.
Change-Id: I5c468a47ed202ac7b93d9132d3fb0c3d3e8b55c4
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
This commit is contained in:
parent
120c562bdf
commit
e2dbcb4546
1 changed files with 5 additions and 8 deletions
13
Makefile
13
Makefile
|
@ -581,8 +581,12 @@ KBUILD_MODULES :=
|
|||
KBUILD_BUILTIN := 1
|
||||
|
||||
# If we have only "make modules", don't compile built-in objects.
|
||||
# When we're building modules with modversions, we need to consider
|
||||
# the built-in objects during the descend as well, in order to
|
||||
# make sure the checksums are up to date before we record them.
|
||||
|
||||
ifeq ($(MAKECMDGOALS),modules)
|
||||
KBUILD_BUILTIN :=
|
||||
KBUILD_BUILTIN := $(if $(CONFIG_MODVERSIONS),1)
|
||||
endif
|
||||
|
||||
# If we have "make <whatever> modules", compile modules
|
||||
|
@ -1385,13 +1389,6 @@ ifdef CONFIG_MODULES
|
|||
|
||||
all: modules
|
||||
|
||||
# When we're building modules with modversions, we need to consider
|
||||
# the built-in objects during the descend as well, in order to
|
||||
# make sure the checksums are up to date before we record them.
|
||||
ifdef CONFIG_MODVERSIONS
|
||||
KBUILD_BUILTIN := 1
|
||||
endif
|
||||
|
||||
# Build modules
|
||||
#
|
||||
# A module can be listed more than once in obj-m resulting in
|
||||
|
|
Loading…
Reference in a new issue