Merge branch 'v3.10/topic/arm64-dma' of git://git.linaro.org/kernel/linux-linaro...
[firefly-linux-kernel-4.4.55.git] / tools / gator / daemon / Makefile
1 #
2 # Makefile for ARM Streamline - Gator Daemon
3 #
4
5 # Uncomment and define CROSS_COMPILE if it is not already defined
6 # CROSS_COMPILE=/path/to/cross-compiler/arm-linux-gnueabihf-
7 # NOTE: This toolchain uses the hardfloat abi by default. For non-hardfloat
8 # targets run 'make SOFTFLOAT=1 SYSROOT=/path/to/sysroot', see
9 # README_Streamline.txt for more details
10
11 CPP = $(CROSS_COMPILE)g++
12 GCC = $(CROSS_COMPILE)gcc
13
14 # -mthumb-interwork is required for interworking to ARM or Thumb stdlibc
15 CFLAGS += -mthumb-interwork
16
17 ifeq ($(SOFTFLOAT),1)
18         CFLAGS += -marm -march=armv4t -mfloat-abi=soft
19         LDFLAGS += -marm -march=armv4t -mfloat-abi=soft
20 endif
21 ifneq ($(SYSROOT),)
22         LDFLAGS += --sysroot=$(SYSROOT)
23 endif
24
25 include common.mk