2 # Makefile for ARM Streamline - Gator Daemon
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
18 CFLAGS += -marm -march=armv4t -mfloat-abi=soft
19 LDFLAGS += -marm -march=armv4t -mfloat-abi=soft
22 LDFLAGS += --sysroot=$(SYSROOT)