add TARGET_CXX variable which points to the c++ cross compiler
SVN-Revision: 12466
This commit is contained in:
parent
38516cd780
commit
eef95be7a2
3
rules.mk
3
rules.mk
|
@ -97,6 +97,7 @@ HOST_CFLAGS:=-O2 -I$(STAGING_DIR_HOST)/include
|
||||||
HOST_LDFLAGS:=-L$(STAGING_DIR_HOST)/lib
|
HOST_LDFLAGS:=-L$(STAGING_DIR_HOST)/lib
|
||||||
|
|
||||||
TARGET_CC:=$(TARGET_CROSS)gcc
|
TARGET_CC:=$(TARGET_CROSS)gcc
|
||||||
|
TARGET_CXX:=$(TARGET_CROSS)g++
|
||||||
STRIP:=$(STAGING_DIR_HOST)/bin/sstrip
|
STRIP:=$(STAGING_DIR_HOST)/bin/sstrip
|
||||||
PATCH:=$(SCRIPT_DIR)/patch-kernel.sh
|
PATCH:=$(SCRIPT_DIR)/patch-kernel.sh
|
||||||
SED:=$(STAGING_DIR_HOST)/bin/sed -i -e
|
SED:=$(STAGING_DIR_HOST)/bin/sed -i -e
|
||||||
|
@ -120,7 +121,7 @@ TARGET_CONFIGURE_OPTS:= \
|
||||||
NM=$(TARGET_CROSS)nm \
|
NM=$(TARGET_CROSS)nm \
|
||||||
CC="$(TARGET_CC)" \
|
CC="$(TARGET_CC)" \
|
||||||
GCC="$(TARGET_CC)" \
|
GCC="$(TARGET_CC)" \
|
||||||
CXX=$(TARGET_CROSS)g++ \
|
CXX="$(TARGET_CXX)" \
|
||||||
RANLIB=$(TARGET_CROSS)ranlib \
|
RANLIB=$(TARGET_CROSS)ranlib \
|
||||||
STRIP=$(TARGET_CROSS)strip \
|
STRIP=$(TARGET_CROSS)strip \
|
||||||
OBJCOPY=$(TARGET_CROSS)objcopy \
|
OBJCOPY=$(TARGET_CROSS)objcopy \
|
||||||
|
|
Loading…
Reference in New Issue