summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tasks/bootloader.mk7
1 files changed, 0 insertions, 7 deletions
diff --git a/tasks/bootloader.mk b/tasks/bootloader.mk
index d7e1b80..587763c 100644
--- a/tasks/bootloader.mk
+++ b/tasks/bootloader.mk
@@ -181,18 +181,11 @@ ifneq ($(BOOTWRAPPER_TOOLS_PREFIX),)
BOOTWRAPPER_TCDIR = $(realpath $(shell dirname $(BOOTWRAPPER_TOOLS_PREFIX)))
BOOTWRAPPER_TCPREFIX = $(shell basename $(BOOTWRAPPER_TOOLS_PREFIX))
else
-ifneq ($(findstring prebuilt,$(TARGET_TOOLS_PREFIX)),)
-# The AOSP prebuilt toolchain is too old to compile
-# the boot-wrapper, so we fall back to a system compiler
-BOOTWRAPPER_TCDIR = $(shell basename `which arm-linux-gnueabi-gcc`)
-BOOTWRAPPER_TCPREFIX = arm-linux-gnueabi-
-else
BOOTWRAPPER_TCDIR = $(realpath $(shell dirname $(TARGET_TOOLS_PREFIX)))
# The boot-wrapper is not an Android application and should be
# built with the bare metal toolchain if it is available
BOOTWRAPPER_TCPREFIX = $(shell if [ -e $(BOOTWRAPPER_TCDIR)/arm-eabi-gcc ]; then echo arm-eabi-; else basename $(TARGET_TOOLS_PREFIX); fi)
endif
-endif
#
# Invoke make with the toolchain setup for cross compilation, example usage: