blob: f6fccf4265231f90eeac91412d2ab78c84e871b9 [file] [log] [blame]
Pascal Brandb0104772014-06-12 15:56:20 +02001
2CC = $(CROSS_COMPILE)gcc
3LD = $(CROSS_COMPILE)ld
4AR = $(CROSS_COMPILE)ar
5NM = $(CROSS_COMPILE)nm
6OBJCOPY = $(CROSS_COMPILE)objcopy
7OBJDUMP = $(CROSS_COMPILE)objdump
8READELF = $(CROSS_COMPILE)readelf
9
10nostdinc := -nostdinc -isystem $(shell $(CC) -print-file-name=include \
11 2> /dev/null)
12
13# Get location of libgcc from gcc
14libgcc := $(shell $(CC) $(comp-cflags$(sm)) -print-libgcc-file-name \
15 2> /dev/null)
16
17