orbea / zippy / sofort

Forked from zippy/sofort 2 years ago
Clone

Blame sysinfo/toolchain/gcc.mk

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