mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 05:46:30 +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:
parent
ed36bf9de8
commit
9583dcd9a7
@ -3,9 +3,9 @@ PKG_INSTALL:=1
|
||||
MAKE_FLAGS+=VERBOSE=1
|
||||
|
||||
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_CXX_COMPILER:=$(TOOLCHAIN_DIR)/bin/$(TARGET_CXX)
|
||||
CMAKE_CXX_COMPILER:=$(TOOLCHAIN_DIR)/usr/bin/$(TARGET_CXX)
|
||||
CMAKE_CXX_COMPILER_ARG1:=
|
||||
else
|
||||
CMAKE_C_COMPILER:=$(STAGING_DIR_HOST)/bin/ccache
|
||||
|
Loading…
Reference in New Issue
Block a user