diff options
author | Pankaj Bharadiya <pankaj.bharadiya@ti.com> | 2012-10-18 11:47:10 +0530 |
---|---|---|
committer | Pankaj Bharadiya <pankaj.bharadiya@ti.com> | 2012-10-18 11:48:20 +0530 |
commit | fd286ea3401fb751eeec763d521eddc4f0c16e66 (patch) | |
tree | cf15e819c95b558f3e4994e0037255dd81a192e0 | |
parent | 9e24b7f2c78dfb89f497ec326bab8d0fc19ad5ef (diff) | |
download | sgx-fd286ea3401fb751eeec763d521eddc4f0c16e66.tar.gz |
Remove hardcoded toolchain prefix and path
Don't hardcode toolchain prefix and path instead use
TAGET_TOOLCHAIN_PREFIX variable to extact CSTOOLS_PATH and CSTOOLS
-rwxr-xr-x | Rules.make | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -10,11 +10,9 @@ GRAPHICS_INSTALL_DIR=$(ANDROID_ROOT_DIR)/hardware/ti/sgx #Path of Android Framework ANDROID_ROOT=$(ANDROID_ROOT_DIR) -#set toolchain root path for arm-eabi -CSTOOL_DIR=$(ANDROID_ROOT_DIR)/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6 -CSTOOL_PREFIX=arm-eabi- -CSTOOL_PATH=$(CSTOOL_DIR)/bin - +#set toolchain root path +CSTOOL_PATH=$(dir $(TARGET_TOOLS_PREFIX)) +CSTOOL_PREFIX=$(notdir $(TARGET_TOOLS_PREFIX)) #set the kernel installation path KERNEL_INSTALL_DIR=$(ANDROID_ROOT_DIR)/kernel |