forked from huceke/omxplayer
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile.include
34 lines (30 loc) · 1.31 KB
/
Makefile.include
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
RASPBIAN=1
ifeq ($(RASPBIAN), 1)
CFLAGS += -pipe -mfloat-abi=hard -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 -march=armv6zk
else
CFLAGS += -pipe -mfloat-abi=softfp -fomit-frame-pointer -mabi=aapcs-linux -Wno-psabi -mno-apcs-stack-check -O3 -mstructure-size-boundary=32 -mno-sched-prolog -march=armv6zk
endif
BUILDROOT :=/home/pi/src/omxplayer
TARGETFS :=/home/pi/local
TOOLCHAIN :=/usr/
LD := $(TOOLCHAIN)/bin/ld
CC := $(TOOLCHAIN)/bin/gcc
CXX := $(TOOLCHAIN)/bin/g++
OBJDUMP := $(TOOLCHAIN)/bin/objdump
RANLIB := $(TOOLCHAIN)/bin/ranlib
STRIP := $(TOOLCHAIN)/bin/strip
AR := $(TOOLCHAIN)/bin/ar
CXXCP := $(CXX) -E
LDFLAGS += -L$(BUILDROOT)/firmware/opt/vc/lib -L$(BUILDROOT)/ffpmeg -L/lib -L/usr/lib
#INCLUDES += -I$(BUILDROOT)/firmware/opt/vc/include/interface/vcos/pthreads \
# -I$(BUILDROOT)/firmware/opt/vc/include \
# -I$(BUILDROOT)/firmware/opt/vc/include/interface/vmcs_host \
# -I$(BUILDROOT)/ffmpeg \
# -I/usr/include
INCLUDES += -I/opt/vc/include/interface/vcos/pthreads \
-I/opt/vc/include \
-I/opt/vc/include/interface/vmcs_host \
-I/opt/vc/include/interface/vmcs_host/linux \
-I/home/pi/local/include \
-I/usr/include \
-I/usr/include/freetype2