diff options
author | Koen Kooi <k-kooi@ti.com> | 2010-01-28 11:38:38 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-04-12 19:43:15 +0200 |
commit | 4198554e913ee888247fd11bff52802f4090b828 (patch) | |
tree | 4b5937b69f7fd911640ecd2b3a0a90dc2fac92a0 | |
parent | 0b9bb3d6c66640d65d232e96960dfecd3efa655e (diff) |
omapfbplay-cmem: add recipe which will can use CMEM as memory allocator and SDMA as pixelconvertor
Signed-off-by: Koen Kooi <k-kooi@ti.com>
-rw-r--r-- | recipes/ffmpeg/omapfbplay-cmem_git.bb | 34 |
1 files changed, 34 insertions, 0 deletions
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} +} |