orbea / zippy / sofort

Forked from zippy/sofort 2 years ago
Clone

Blame sysinfo/toolchain/cparser.mk

f46039
ifeq ($(CROSS_COMPILE)x,x)
b46bd6
	CROSS_HOST	=
f46039
	CROSS_HOST_SPEC =
f46039
else
b46bd6
	CROSS_HOST	= $(HOST)
f46039
	CROSS_HOST_SPEC = --target=$(HOST)
f46039
endif
f46039
f46039
f46039
ifeq ($(USER_CC)x,x)
f46039
	CC	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp
f46039
else
f46039
	CC	= $(USER_CC) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp
f46039
endif
f46039
f46039
ifeq ($(USER_CPP)x,x)
f46039
	CPP	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp -E
f46039
else
f46039
	CPP	= $(USER_CPP) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp -E
f46039
endif
f46039
f46039
ifeq ($(USER_CXX)x,x)
f46039
	CXX	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp -std=c++
f46039
else
f46039
	CXX	= $(USER_CXX) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp -std=c++
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
f46039
f46039
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
f46039
f46039
b46bd6
CFLAGS_PIC	= -fPIC