1AS = $(CROSS_COMPILE)as 2LD = $(CROSS_COMPILE)ld 3ifeq ($(clang),y) 4CC = $(CROSS_COMPILE)clang 5CXX = $(CROSS_COMPILE)clang++ 6LD_LTO = $(CROSS_COMPILE)llvm-ld 7else 8CC = $(CROSS_COMPILE)gcc 9CXX = $(CROSS_COMPILE)g++ 10LD_LTO = $(CROSS_COMPILE)ld 11endif 12CPP = $(CC) -E 13AR = $(CROSS_COMPILE)ar 14RANLIB = $(CROSS_COMPILE)ranlib 15NM = $(CROSS_COMPILE)nm 16STRIP = $(CROSS_COMPILE)strip 17OBJCOPY = $(CROSS_COMPILE)objcopy 18OBJDUMP = $(CROSS_COMPILE)objdump 19SIZEUTIL = $(CROSS_COMPILE)size 20 21# Allow git to be wrappered in the environment 22GIT ?= git 23 24INSTALL = install 25INSTALL_DIR = $(INSTALL) -d -m0755 -p 26INSTALL_DATA = $(INSTALL) -m0644 -p 27INSTALL_PROG = $(INSTALL) -m0755 -p 28 29BOOT_DIR ?= /boot 30DEBUG_DIR ?= /usr/lib/debug 31 32SOCKET_LIBS = 33UTIL_LIBS = -lutil 34 35SONAME_LDFLAG = -soname 36SHLIB_LDFLAGS = -shared 37 38