kbuild: build modules by 'make'
In Linux, 'make' and 'make all' work equivalently; it builds both
vmlinux and modules.

In barebox, strangely, 'make all' builds both barebox and modules,
but 'make' builds only barebox because KBUILD_MODULES is unset.

The check for 'ifeq ($(MAKECMDGOALS),)' is missing since the day-one.

Fixes: b02e0966412c ("add additional linking stage for modules")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent fc7c564 commit c6aea1e9a377de5e67ce5c71d7487525af633a0b
@Masahiro Yamada Masahiro Yamada authored on 18 May 2020
Sascha Hauer committed on 20 May 2020
Showing 1 changed file
View
Makefile