From 4198554e913ee888247fd11bff52802f4090b828 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 28 Jan 2010 11:38:38 +0100 Subject: omapfbplay-cmem: add recipe which will can use CMEM as memory allocator and SDMA as pixelconvertor Signed-off-by: Koen Kooi --- recipes/ffmpeg/omapfbplay-cmem_git.bb | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 recipes/ffmpeg/omapfbplay-cmem_git.bb (limited to 'recipes/ffmpeg') diff --git a/recipes/ffmpeg/omapfbplay-cmem_git.bb b/recipes/ffmpeg/omapfbplay-cmem_git.bb new file mode 100644 index 0000000000..3976c4cd00 --- /dev/null +++ b/recipes/ffmpeg/omapfbplay-cmem_git.bb @@ -0,0 +1,34 @@ +DESCRIPTION = "Simple ffmpeg-based player that uses the omapfb overlays" +DEPENDS = "ti-linuxutils bzip2 lame ffmpeg virtual/kernel" +LICENSE = "MIT" + +PV = "0.0+${PR}+gitr${SRCREV}" + +SRCREV = "70bc185cfc3dd64399dc664a90a56a15796fb2e8" +SRC_URI = "git://git.mansr.com/omapfbplay;protocol=git \ +" + +S = "${WORKDIR}/git" + +require ../ti/ti-paths.inc + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +SDMA_CFLAGS = " -I${LINUXUTILS_INSTALL_DIR}/packages/ti/sdo/linuxutils/sdma/include/" +CMEM_CFLAGS = " -I${LINUXUTILS_INSTALL_DIR}/packages/ti/sdo/linuxutils/cmem/include/" +CFLAGS += " -I. -I${STAGING_KERNEL_DIR}/include ${SDMA_CFLAGS} ${CMEM_CFLAGS}" + +export SDMA_LIBS = "-L${LINUXUTILS_INSTALL_DIR}/packages/ti/sdo/linuxutils/sdma/lib -l:sdma.a470MV" +export CMEM_LIBS = "-L${LINUXUTILS_INSTALL_DIR}/packages/ti/sdo/linuxutils/cmem/lib -l:cmem.a470MV" + +do_compile() { + cp ${STAGING_KERNEL_DIR}/arch/arm/plat-omap/include/mach/omapfb.h ${S} || true + cp ${STAGING_KERNEL_DIR}/include/asm-arm/arch-omap/omapfb.h ${S} || true + cp ${STAGING_KERNEL_DIR}/include/linux/omapfb.h ${S} || true + oe_runmake arm=y OMAPFB=y NETSYNC=y CMEM=y SDMA=y -e +} + +do_install() { + install -d ${D}/${bindir} + install -m 0755 ${S}/omapfbplay ${D}/${bindir}/${PN} +} -- cgit 1.2.3-korg