Point to new linux prebuilt toolchain for SDK build
Change-Id: I21849119b0f3f45f950e9e6d1da0833aff381fb7
This commit is contained in:
parent
742a194438
commit
0e63fd37dd
1 changed files with 6 additions and 6 deletions
|
@ -33,13 +33,13 @@ endef
|
|||
# LOCAL_CC and LOCAL_CXX to override this.
|
||||
#
|
||||
ifeq ($(TARGET_PRODUCT),sdk)
|
||||
HOST_SDK_TOOLCHAIN_PREFIX := prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/bin/i686-linux
|
||||
HOST_SDK_TOOLCHAIN_PREFIX := prebuilts/tools/gcc-sdk
|
||||
# Don't do anything if the toolchain is not there
|
||||
ifneq (,$(strip $(wildcard $(HOST_SDK_TOOLCHAIN_PREFIX)-gcc)))
|
||||
HOST_CC := $(HOST_SDK_TOOLCHAIN_PREFIX)-gcc
|
||||
HOST_CXX := $(HOST_SDK_TOOLCHAIN_PREFIX)-g++
|
||||
HOST_AR := $(HOST_SDK_TOOLCHAIN_PREFIX)-ar
|
||||
endif # $(HOST_SDK_TOOLCHAIN_PREFIX)-gcc exists
|
||||
ifneq (,$(strip $(wildcard $(HOST_SDK_TOOLCHAIN_PREFIX)/gcc)))
|
||||
HOST_CC := $(HOST_SDK_TOOLCHAIN_PREFIX)/gcc
|
||||
HOST_CXX := $(HOST_SDK_TOOLCHAIN_PREFIX)/g++
|
||||
HOST_AR := $(HOST_SDK_TOOLCHAIN_PREFIX)/ar
|
||||
endif # $(HOST_SDK_TOOLCHAIN_PREFIX)/gcc exists
|
||||
endif # TARGET_PRODUCT == sdk
|
||||
|
||||
ifneq ($(strip $(BUILD_HOST_64bit)),)
|
||||
|
|
Loading…
Reference in a new issue