1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 00:52:27 +02:00

cmake: the toolchain is in $(TOOLCHAIN_DIR)/usr/bin on backfire

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@25927 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2011-03-07 12:52:53 +00:00
parent ed36bf9de8
commit 9583dcd9a7

View File

@ -3,9 +3,9 @@ PKG_INSTALL:=1
MAKE_FLAGS+=VERBOSE=1 MAKE_FLAGS+=VERBOSE=1
ifeq ($(CONFIG_CCACHE),) ifeq ($(CONFIG_CCACHE),)
CMAKE_C_COMPILER:=$(TOOLCHAIN_DIR)/bin/$(TARGET_CC) CMAKE_C_COMPILER:=$(TOOLCHAIN_DIR)/usr/bin/$(TARGET_CC)
CMAKE_C_COMPILER_ARG1:= CMAKE_C_COMPILER_ARG1:=
CMAKE_CXX_COMPILER:=$(TOOLCHAIN_DIR)/bin/$(TARGET_CXX) CMAKE_CXX_COMPILER:=$(TOOLCHAIN_DIR)/usr/bin/$(TARGET_CXX)
CMAKE_CXX_COMPILER_ARG1:= CMAKE_CXX_COMPILER_ARG1:=
else else
CMAKE_C_COMPILER:=$(STAGING_DIR_HOST)/bin/ccache CMAKE_C_COMPILER:=$(STAGING_DIR_HOST)/bin/ccache