summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2017-07-26 12:49:59 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2017-07-27 10:56:34 +0200
commitff02bf92e66a9997576923b4622cdcf740352724 (patch)
treef29088edd609ad4eaf034a015add154a09224b8a
parent56d0bdb5fe818858a152a793a363bbe86d46d430 (diff)
downloadmeta-raspberrypi-ff02bf92e66a9997576923b4622cdcf740352724.tar.gz
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>
-rw-r--r--recipes-core/images/rpi-test-image.bb2
-rw-r--r--recipes-core/packagegroups/packagegroup-rpi-test.bb7
2 files changed, 8 insertions, 1 deletions
diff --git a/recipes-core/images/rpi-test-image.bb b/recipes-core/images/rpi-test-image.bb
index b5602a6..c8dc436 100644
--- a/recipes-core/images/rpi-test-image.bb
+++ b/recipes-core/images/rpi-test-image.bb
@@ -1,4 +1,6 @@
1# Base this image on rpi-basic-image 1# Base this image on rpi-basic-image
2include rpi-basic-image.bb 2include rpi-basic-image.bb
3 3
4COMPATIBLE_MACHINE = "^rpi$"
5
4IMAGE_INSTALL_append = " packagegroup-rpi-test" 6IMAGE_INSTALL_append = " packagegroup-rpi-test"
diff --git a/recipes-core/packagegroups/packagegroup-rpi-test.bb b/recipes-core/packagegroups/packagegroup-rpi-test.bb
index 29e995e..029c18c 100644
--- a/recipes-core/packagegroups/packagegroup-rpi-test.bb
+++ b/recipes-core/packagegroups/packagegroup-rpi-test.bb
@@ -4,8 +4,13 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
4 4
5inherit packagegroup 5inherit packagegroup
6 6
7COMPATIBLE_MACHINE = "^rpi$"
8
9OMXPLAYER_rpi = "omxplayer"
10OMXPLAYER_rpi_aarch64 = ""
11
7RDEPENDS_${PN} = "\ 12RDEPENDS_${PN} = "\
8 omxplayer \ 13 ${OMXPLAYER} \
9 bcm2835-tests \ 14 bcm2835-tests \
10 wiringpi \ 15 wiringpi \
11 rpio \ 16 rpio \