Blame sysinfo/toolchain/cparser.mk

cdbf52
ifeq ($(CROSS_COMPILE)x,x)
cdbf52
	CROSS_HOST 	=
cdbf52
	CROSS_HOST_SPEC =
cdbf52
else
cdbf52
	CROSS_HOST 	= $(HOST)
cdbf52
	CROSS_HOST_SPEC = --target=$(HOST)
cdbf52
endif
cdbf52
cdbf52
7f572b
ifeq ($(USER_CC)x,x)
7f572b
	CC	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp
7f572b
else
7f572b
	CC	= $(USER_CC) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp
7f572b
endif
7f572b
7f572b
ifeq ($(USER_CPP)x,x)
7f572b
	CPP	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp -E
7f572b
else
7f572b
	CPP	= $(USER_CPP) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp -E
7f572b
endif
7f572b
7f572b
ifeq ($(USER_CXX)x,x)
7f572b
	CXX	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp -std=c++
7f572b
else
7f572b
	CXX	= $(USER_CXX) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp -std=c++
7f572b
endif
cdbf52
cdbf52
cdbf52
AS 		= $(CROSS_COMPILE)as
cdbf52
AR 		= $(CROSS_COMPILE)ar
cdbf52
LD 		= $(CROSS_COMPILE)ld
cdbf52
NM 		= $(CROSS_COMPILE)nm
cdbf52
OBJDUMP 	= $(CROSS_COMPILE)objdump
cdbf52
RANLIB 		= $(CROSS_COMPILE)ranlib
cdbf52
SIZE 		= $(CROSS_COMPILE)size
cdbf52
STRIP 		= $(CROSS_COMPILE)strip
cdbf52
STRINGS 	= $(CROSS_COMPILE)strings
cdbf52
cdbf52
cdbf52
ADDR2LINE 	= $(CROSS_COMPILE)addr2line
cdbf52
COV 		= $(CROSS_COMPILE)gcov
cdbf52
CXXFILT 	= $(CROSS_COMPILE)c++filt
cdbf52
ELFEDIT 	= $(CROSS_COMPILE)elfedit
cdbf52
OBJCOPY 	= $(CROSS_COMPILE)objcopy
cdbf52
READELF 	= $(CROSS_COMPILE)readelf
cdbf52
cdbf52
cdbf52
CFLAGS_PIC 	= -fPIC