mirror of
https://github.com/agherzan/meta-raspberrypi.git
synced 2025-12-06 06:19:11 +00:00
rpidistro-vlc,rpidistro-ffmpeg: Limit scope to just rpi machines
enable mmal only when using userland graphics Fixes builds on non-rpi machines e.g. ERROR: Nothing PROVIDES 'userland' (but /mnt/jenkins/workspace/yocto-world-glibc/sources/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/rpidistro-ffmpeg_4.3.2.bb DEPENDS on or otherwise requires it) userland was skipped: incompatible with machine qemumips (not in COMPATIBLE_MACHINE) NOTE: Runtime target 'rpidistro-ffmpeg' is unbuildable, removing... Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -51,8 +51,9 @@ EXTRA_OECONF = "\
|
||||
|
||||
PACKAGECONFIG ?= "\
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
|
||||
${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'mmal', d)} \
|
||||
live555 dv1394 notify fontconfig fluidsynth freetype dvdread png udev \
|
||||
x264 alsa mmal harfbuzz jack neon fribidi dvbpsi a52 v4l2 gles2 \
|
||||
x264 alsa harfbuzz jack neon fribidi dvbpsi a52 v4l2 gles2 \
|
||||
"
|
||||
|
||||
PACKAGECONFIG[mmal] = "--enable-omxil --enable-omxil-vout --enable-rpi-omxil --enable-mmal --enable-mmal-avcodec,,userland"
|
||||
@@ -151,4 +152,8 @@ FILES:${PN}-staticdev += "\
|
||||
${libdir}/vlc/libcompat.a \
|
||||
"
|
||||
|
||||
# Only enable it for rpi class of machines
|
||||
COMPATIBLE_HOST = "null"
|
||||
COMPATIBLE_HOST:rpi = "'(.*)'"
|
||||
|
||||
INSANE_SKIP:${PN} = "dev-so"
|
||||
|
||||
Reference in New Issue
Block a user