Revert "Makefile: Check $CC variable returned from xcompile is not empty."
This reverts commit 1287d1cc80c52ff2598f2bae235fc42d8456f44a.
This commit has the side-effect of making abuild fail, and as such is
reverted until a safe solution can be found.
Change-Id: Ib8cb78468c2922322b490e0b52c0bd24f3de7ef9
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-on: http://review.coreboot.org/3269
Tested-by: build bot (Jenkins)
Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com>
diff --git a/Makefile b/Makefile
index 11222d6..b709d14 100644
--- a/Makefile
+++ b/Makefile
@@ -138,11 +138,6 @@
CFLAGS += $(CFLAGS_$(ARCH-y))
-ifeq ($(CC),)
-$(shell rm .xcompile)
-$(error no suitable GCC for $(ARCH-y))
-endif
-
LIBGCC_FILE_NAME := $(shell test -r `$(CC) -print-libgcc-file-name` && \
$(CC) -print-libgcc-file-name)
diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile
index 7a29be3..a1e8dc7 100644
--- a/payloads/libpayload/Makefile
+++ b/payloads/libpayload/Makefile
@@ -113,11 +113,6 @@
CFLAGS += $(CFLAGS_$(ARCH-y))
-ifeq ($(CC),)
-$(shell rm .xcompile)
-$(error no suitable GCC for $(ARCH-y))
-endif
-
LIBGCC_FILE_NAME := $(shell test -r `$(CC) -print-libgcc-file-name` && \
$(CC) -print-libgcc-file-name)