Blame sysinfo/toolchain/cparser.mk

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