2013-03-24 19:16:15 +01:00
|
|
|
USE_BUILDROOT=0
|
|
|
|
|
|
|
|
JOBS=1
|
|
|
|
|
|
|
|
CFLAGS :=
|
|
|
|
CXXFLAGS := $(CFLAGS)
|
|
|
|
CPPFLAGS := $(CFLAGS)
|
|
|
|
LDFLAGS :=
|
|
|
|
LD := ld
|
|
|
|
CC := gcc
|
|
|
|
CXX := g++
|
|
|
|
OBJDUMP := objdump
|
|
|
|
RANLIB := ranlib
|
|
|
|
STRIP := strip
|
|
|
|
AR := ar
|
|
|
|
CXXCP := $(CXX) -E
|
|
|
|
|
|
|
|
CFLAGS += -pipe -mcpu=arm1176jzf-s -fomit-frame-pointer -mabi=aapcs-linux \
|
|
|
|
-mtune=arm1176jzf-s -mfpu=vfp -Wno-psabi -mno-apcs-stack-check \
|
|
|
|
-O3 -mstructure-size-boundary=32 -mno-sched-prolog
|
|
|
|
|
2013-09-13 12:32:45 +02:00
|
|
|
LDFLAGS += -L@CROSSBASE@/opt/vc/lib/ -Wl,-rpath /opt/vc/lib -L@CROSSBASE@/usr/lib
|
2013-03-24 19:16:15 +01:00
|
|
|
|
2013-09-13 12:32:45 +02:00
|
|
|
INCLUDES += -I@CROSSBASE@/opt/vc/include -I@CROSSBASE@/opt/vc/include/interface/vcos/ \
|
|
|
|
-I@CROSSBASE@/opt/vc/include/interface/vcos/pthreads \
|
|
|
|
-I@CROSSBASE@/opt/vc/include/interface/vmcs_host/linux \
|
|
|
|
-I@CROSSBASE@/usr/include -I@CROSSBASE@/usr/include/dbus-1.0 \
|
|
|
|
-I@CROSSBASE@/usr/lib/dbus-1.0/include -I@CROSSBASE@/usr/include/freetype2
|
2013-03-24 19:16:15 +01:00
|
|
|
|