Drop the spurios "space" character in Makefile condition check that causes mshv_common.o to be built regardless of the CONFIG settings.
Signed-off-by: Praveen K Paladugu <[email protected]> Suggested-by: Michael Kelley <[email protected]> --- drivers/hv/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hv/Makefile b/drivers/hv/Makefile index 58b8d07639f3..6d929fb0e13d 100644 --- a/drivers/hv/Makefile +++ b/drivers/hv/Makefile @@ -20,6 +20,6 @@ mshv_vtl-y := mshv_vtl_main.o # Code that must be built-in obj-$(CONFIG_HYPERV) += hv_common.o obj-$(subst m,y,$(CONFIG_MSHV_ROOT)) += hv_proc.o -ifneq ($(CONFIG_MSHV_ROOT) $(CONFIG_MSHV_VTL),) +ifneq ($(CONFIG_MSHV_ROOT)$(CONFIG_MSHV_VTL),) obj-y += mshv_common.o endif -- 2.51.0
