diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 723bffd979e9..45bb65d01a21 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -308,6 +308,8 @@ PHONY += vdso_install vdso_install: $(Q)$(MAKE) $(build)=arch/x86/entry/vdso $@ +archprepare: checkbin +checkbin: ifdef CONFIG_RETPOLINE ifeq ($(RETPOLINE_CFLAGS),) @echo "You are building kernel with non-retpoline compiler." >&2