packagegroup-rpi-test, rpi-test-image: restrict to ^rpi$ and include omxplayer only for 32bit rpi

* omxplayer has:
  COMPATIBLE_MACHINE_rpi_aarch64 = null

  so it cannot be inclued for raspberrypi3-64
* components used by this packagegroup are also restricted to ^rpi$ so
  the packagegroup and the image using it cannot be built for anything else
* fixes couple errors when trying to build world with meta-raspberrypi included

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa 2017-07-26 12:49:59 +02:00
parent 56d0bdb5fe
commit ff02bf92e6
2 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,6 @@
# Base this image on rpi-basic-image
include rpi-basic-image.bb
COMPATIBLE_MACHINE = "^rpi$"
IMAGE_INSTALL_append = " packagegroup-rpi-test"

View File

@ -4,8 +4,13 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
inherit packagegroup
COMPATIBLE_MACHINE = "^rpi$"
OMXPLAYER_rpi = "omxplayer"
OMXPLAYER_rpi_aarch64 = ""
RDEPENDS_${PN} = "\
omxplayer \
${OMXPLAYER} \
bcm2835-tests \
wiringpi \
rpio \