summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc15
1 files changed, 0 insertions, 15 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 8d732ea3e0..2877a62c6c 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -26,21 +26,6 @@ export KERNELVERSION := $(strip $(if $(GIT),\
4.0$(KERNELREVISION)))
#######################################################################
-# Test for coreboot toolchain (except when explicitely not requested)
-ifneq ($(NOCOMPILE),1)
-# only run if we're doing a build (not for tests, kconfig, ...), using gcc
-# rationale: gcc versions by Linux distributions tend to be quite messed up
-ifeq ($(CONFIG_COMPILER_GCC),y)
-ifneq ($(CONFIG_ANY_TOOLCHAIN),y)
-_toolchain=$(shell $(CC_x86_32) -v 2>&1 |grep -q "gcc version .*coreboot toolchain" && echo coreboot)
-ifneq ($(_toolchain),coreboot)
-$(error Please use the coreboot toolchain (or prove that your toolchain works))
-endif
-endif
-endif
-endif
-
-#######################################################################
# Basic component discovery
MAINBOARDDIR=$(call strip_quotes,$(CONFIG_MAINBOARD_DIR))
export MAINBOARDDIR