On 11/06/2014 18:24, Andrei Gherzan
wrote:
Not quite. I mean that I am reusing the code in the .inc file in
another .bbappend file, called gstreamer1.0-omx_git.bbappend
This is identical to gstreamer1.0-omx_1.0.0.bbappend in that it just
requires the inc file, so I don't have duplication of code.
Targetting gstreamer-omx 1.0.0 at the RPi works fine, but when I
tried targetting the git source at RPi the build broke, so I didn't
provide that recipe to you.
e.g. with my local.conf set to PREFERRED_VERSION_gstreamer1.0-omx =
"git" the git build gives this
cc1: error: .../tmp/sysroots/raspberrypi/usr/include/vc: No such
file or directory [-Werror]
cc1: error: .../tmp/sysroots/raspberrypi/usr/include/interface: No
such file or directory [-Werror]
cc1: error: .../tmp/sysroots/raspberrypi/usr/include/interface/vcos:
No such file or directory [-Werror]
cc1: error:
.../tmp/sysroots/raspberrypi/usr/include/interface/vcos/pthreads: No
such file or directory $
cc1: all warnings being treated as errors
make[2]: *** [libgstomx_la-gstomxvideoenc.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
I think there's something missing or some path not set correctly for
the more recent gstreamer-omx code, but I haven't had a chance to
look into it.
OK, I just tried this instead of the anonymous python method I
created in the last patch-set.
Perhaps I'm misunderstanding but, for example, we need
GSTREAMER_1_0_OMX_TARGET set to 'rpi" when machine is raspberrypi
When I try,
GSTREAMER_1_0_OMX_TARGET_append_raspberrypi = "rpi"
I end up with the original value 'bellagio' appended with 'rpi' to
give 'bellagiorpi'
Maybe I need something more like this?
GSTREAMER_1_0_OMX_TARGET_override_raspberrypi = "rpi"
Does such a mechanism exist in bitbake?
Regards,
Alex