universal7580: Remove ANDROID_BUILD_TOP
authorStricted <info@stricted.net>
Sun, 14 Oct 2018 22:36:01 +0000 (00:36 +0200)
committerJan Altensen <info@stricted.net>
Fri, 16 Aug 2019 21:18:51 +0000 (23:18 +0200)
This is no longer used in Pie, so just get the top dir of the build system
and use that.

Change-Id: I6d91b3c7484596b76546ccdf06fb1ea538067d82

BoardConfigCommon.mk

index 31109598a8a502a7da5429d42659d591d7cc5be4..213884ae1dec182c6657d8b78ff3fd7d0533522f 100644 (file)
@@ -15,6 +15,7 @@
 #
 
 LOCAL_PATH := device/samsung/universal7580-common
+BUILD_TOP := $(shell pwd)
 
 # Include path
 TARGET_SPECIFIC_HEADER_PATH := $(LOCAL_PATH)/include
@@ -59,7 +60,7 @@ TARGET_CUSTOM_DTBTOOL := dtbhtoolExynos
 # Kernel
 TARGET_KERNEL_ARCH := arm64
 TARGET_KERNEL_CROSS_COMPILE_PREFIX := aarch64-linux-android-
-KERNEL_TOOLCHAIN := $(ANDROID_BUILD_TOP)/prebuilts/gcc/$(HOST_OS)-x86/aarch64/aarch64-linux-android-4.9/bin
+KERNEL_TOOLCHAIN := $(BUILD_TOP)/prebuilts/gcc/$(HOST_OS)-x86/aarch64/aarch64-linux-android-4.9/bin
 TARGET_LINUX_KERNEL_VERSION := 3.10
 
 # Kernel config