Blame sysinfo/toolchain/cparser.mk

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