--- /dev/null
+--- /tmp/Makefile 2008-07-10 12:59:00.000000000 +0200
++++ git/Makefile 2008-07-10 12:57:38.723198000 +0200
+@@ -5,6 +5,6 @@
+ CFLAGS = -O3 -Wall -fomit-frame-pointer -mcpu=cortex-a8 -mfpu=neon \
+ -I$(LINUX)/include -I$(FFMPEG)
+ LDFLAGS = -L$(FFMPEG)/libavcodec -L$(FFMPEG)/libavformat -L$(FFMPEG)/libavutil
+-LDLIBS = -lavformat -lavcodec -lavutil -lm -lz -lpthread
++LDLIBS = -lavformat -lavcodec -lavutil -lz -ldl -lbz2 -lfaac -lgsm -lmp3lame -lm -lpthread
+
+ all: omapfbplay
DEPENDS = "ffmpeg virtual/kernel"
LICENSE = "MIT"
-PR = "r1"
+PR = "r2"
inherit module-base
PV = "0.0+${PR}+gitr${SRCREV}"
SRCREV = "5d0a1fd4c9733ef8c57823c368e21688344bbeb4"
-SRC_URI = "git://git.mansr.com/${PN};protocol=git"
+SRC_URI = "git://git.mansr.com/${PN};protocol=git \
+ file://fbplay-static.diff;patch=1 "
S = "${WORKDIR}/git"
-CFLAGS += "-I${STAGING_KERNEL_DIR}/include "
+CFLAGS += " -static -I${STAGING_KERNEL_DIR}/include "
do_compile() {
oe_runmake -e