On 07/10/2014 05:02 PM, Natural Groove wrote:
Hi,

Im trying to crossbuild ffmpeg for arm (colibri-t20).
I wrote a simplest recipe in order to achieve this, but even if ffmpeg, ffprobe
and ffserver are build, ffplay isnt, i first thought that i had forgotten some
dependencies but i dont see which could be missing.
Any idea why this isnt working?

The recipe:

SRC_URI = "https://www.ffmpeg.org/releases/ffmpeg-2.1.1.tar.gz";
SRC_URI[md5sum] = "294749b2ebdd22ef7d9b9d12a70d5b8c"
SRC_URI[sha256sum] =
"66f521dffefcbb6c09a402f6373e6cef81fbf4284d0a33cdef9a19412df1dd18"
inherit autotools pkgconfig
DEPENDS = "yasm-native libsdl libx11 zlib libtheora libogg libass libtool"
S="${WORKDIR}/ffmpeg-2.1.1"


inherit autotools pkgconfig

CROSS_COMPILE =
"/home/rick/oe-core/build/out-eglibc/sysroots/i686-linux/usr/bin/armv7ahf-vfp-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-"

EXTRA_OECONF = "--arch=arm --enable-cross-compile
--cross-prefix=${CROSS_COMPILE} --target-os=linux --enable-gpl
--enable-libtheora --enable-libvorbis --extra-libs="-ldl" --enable-ffplay
--enable-shared --enable-pic"

Check config.log to see why --enable-ffplay doesn't work ?


do_configure() {
         ./configure ${EXTRA_OECONF}
}

Remove the do_configure ()?

// Robert



Regards
Ricko



--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to