Merge tag 'v3.10.72' into linux-linaro-lsk
[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 CC = $(CROSS_COMPILE)gcc
12 CXX = $(CROSS_COMPILE)g++
13
14 ifeq ($(SOFTFLOAT),1)
15         CPPFLAGS += -marm -mthumb-interwork -march=armv4t -mfloat-abi=soft
16         LDFLAGS += -marm -march=armv4t -mfloat-abi=soft
17 endif
18 ifneq ($(SYSROOT),)
19         LDFLAGS += --sysroot=$(SYSROOT)
20 endif
21
22 include common.mk