Blame sysinfo/compiler/cparser.mk

cdbf52
ifeq ($(CROSS_COMPILE)x,x)
03eeb0
	CROSS_HOST	=
cdbf52
	CROSS_HOST_SPEC =
cdbf52
else
03eeb0
	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
03eeb0
AS		= $(CROSS_COMPILE)as
03eeb0
AR		= $(CROSS_COMPILE)ar
03eeb0
LD		= $(CROSS_COMPILE)ld
03eeb0
NM		= $(CROSS_COMPILE)nm
03eeb0
OBJDUMP		= $(CROSS_COMPILE)objdump
03eeb0
RANLIB		= $(CROSS_COMPILE)ranlib
03eeb0
SIZE		= $(CROSS_COMPILE)size
03eeb0
STRIP		= $(CROSS_COMPILE)strip
03eeb0
STRINGS		= $(CROSS_COMPILE)strings
cdbf52
cdbf52
03eeb0
ADDR2LINE	= $(CROSS_COMPILE)addr2line
03eeb0
COV		= $(CROSS_COMPILE)gcov
03eeb0
CXXFILT		= $(CROSS_COMPILE)c++filt
03eeb0
ELFEDIT		= $(CROSS_COMPILE)elfedit
03eeb0
OBJCOPY		= $(CROSS_COMPILE)objcopy
03eeb0
READELF		= $(CROSS_COMPILE)readelf
cdbf52
cdbf52
03eeb0
CFLAGS_PIC	= -fPIC