Blame sysinfo/toolchain/cparser.mk

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