diff --git a/Makefile b/Makefile index b1c3254441f3f3353465ef8b3cf2e563abe70bf4..dd3ecc0fb8e7bec51fb1882c360fedf19a969ead 100644 --- a/Makefile +++ b/Makefile @@ -501,7 +501,7 @@ endif ifeq ($(KBUILD_EXTMOD),) ifneq ($(filter config %config,$(MAKECMDGOALS)),) config-targets := 1 - ifneq ($(filter-out config %config,$(MAKECMDGOALS)),) + ifneq ($(words $(MAKECMDGOALS)),1) mixed-targets := 1 endif endif