ANDROID: Revert "ANDROID: Removed check for asm-goto"

This reverts commit 7eb28048b0.

Change-Id: Ibb4775f9d11d5a5e413204855f8ccbcad6777b3d
Signed-off-by: Matthias Maennich <maennich@google.com>
This commit is contained in:
Matthias Maennich
2019-10-23 22:46:04 +01:00
committed by Alistair Delva
parent 2b6ff0224c
commit 780450bc36

View File

@@ -298,6 +298,10 @@ vdso_install:
archprepare: checkbin
checkbin:
ifndef CONFIG_CC_HAS_ASM_GOTO
@echo Compiler lacks asm-goto support.
@exit 1
endif
ifdef CONFIG_RETPOLINE
ifeq ($(RETPOLINE_CFLAGS),)
@echo "You are building kernel with non-retpoline compiler." >&2