]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/arm-ds5-gator.git/blob - daemon/Makefile
gator: Prevent BUG() when no device-tree cpu nodes present.
[android-sdk/arm-ds5-gator.git] / daemon / Makefile
1 #
2 # Makefile for ARM Streamline - Gator Daemon
3 #
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
11 CPP = $(CROSS_COMPILE)g++
12 GCC = $(CROSS_COMPILE)gcc
14 # -mthumb-interwork is required for interworking to ARM or Thumb stdlibc
15 CFLAGS += -mthumb-interwork
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
25 include common.mk