Blame sysinfo/toolchain/gcc.mk

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