Blame sysinfo/toolchain/clang.mk

d40d13
ifeq ($(CROSS_COMPILE)x,x)
03eeb0
	CROSS_HOST	=
d40d13
	CROSS_HOST_SPEC =
d40d13
else
03eeb0
	CROSS_HOST	= $(HOST)
d40d13
	CROSS_HOST_SPEC = --target=$(HOST)
d40d13
endif
d40d13
d40d13
7f572b
ifeq ($(USER_CC)x,x)
7f572b
	CC	= $(NATIVE_CC) $(CROSS_HOST_SPEC)
7f572b
else
7f572b
	CC	= $(USER_CC) $(CROSS_HOST_SPEC)
7f572b
endif
7f572b
7f572b
ifeq ($(USER_CPP)x,x)
7f572b
	CPP	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -E
7f572b
else
7f572b
	CPP	= $(USER_CPP) $(CROSS_HOST_SPEC) -E
7f572b
endif
7f572b
7f572b
ifeq ($(USER_CXX)x,x)
7f572b
	CXX	= $(NATIVE_CC)++ $(CROSS_HOST_SPEC)
7f572b
else
7f572b
	CXX	= $(USER_CXX) $(CROSS_HOST_SPEC)
7f572b
endif
d40d13
d40d13
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
d40d13
d40d13
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
d40d13
d40d13
03eeb0
CFLAGS_PIC	= -fPIC