Blame sysinfo/toolchain/clang.mk

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