vexpress: ANDROID_64: Use aarch64-linux-android toolchain
Change-Id: I11690da0a2730b3b728b4407e176cc14bbdddc20
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
diff --git a/BoardConfig.mk b/BoardConfig.mk
index ca93099..db0ae02 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -7,7 +7,7 @@
TARGET_NO_BOOTLOADER := true # Uses u-boot instead
TARGET_NO_KERNEL := false
ifeq ($(strip $(ANDROID_64)),true)
-KERNEL_TOOLS_PREFIX := aarch64-linux-gnu-
+KERNEL_TOOLS_PREFIX := aarch64-linux-android-
KERNEL_CONFIG := vexpress-android_defconfig
TARGET_USE_UBOOT := false
CUSTOM_BOOTLOADER_MAKEFILE := device/linaro/vexpress/bootloader64.mk
diff --git a/bootloader64.mk b/bootloader64.mk
index ae41f74..26ecb78 100644
--- a/bootloader64.mk
+++ b/bootloader64.mk
@@ -8,7 +8,7 @@
ln -sf $(abspath $(INSTALLED_KERNEL_TARGET)) $(TOP)/boot-wrapper/Image
ln -sf $(abspath $(INSTALLED_RAMDISK_TARGET)) $(TOP)/boot-wrapper/filesystem.cpio.gz
PATH=$(abspath $(TOP)/gcc-linaro-aarch64-linux-gnu-4.7/bin):$(PATH) && \
- $(MAKE) -C $(TOP)/boot-wrapper CROSS_COMPILE=aarch64-linux-gnu-
+ $(MAKE) -C $(TOP)/boot-wrapper CROSS_COMPILE=$(KERNEL_TOOLS_PREFIX)
@mkdir -p $(dir $@)
$(ACP) -fpt $(TOP)/boot-wrapper/linux-system.axf $@
rm $(TOP)/boot-wrapper/dtc
@@ -18,4 +18,4 @@
rm $(TOP)/boot-wrapper/Image
rm $(TOP)/boot-wrapper/filesystem.cpio.gz
-BOOTLOADER_TARGETS += $(BOOTLOADER_OUT)/linux-system.axf
\ No newline at end of file
+BOOTLOADER_TARGETS += $(BOOTLOADER_OUT)/linux-system.axf