mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03: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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user