Blame sysinfo/toolchain/cparser.mk

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