diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-26 12:49:59 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-27 10:56:34 +0200 |
commit | ff02bf92e66a9997576923b4622cdcf740352724 (patch) | |
tree | f29088edd609ad4eaf034a015add154a09224b8a | |
parent | 56d0bdb5fe818858a152a793a363bbe86d46d430 (diff) | |
download | meta-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.bb | 2 | ||||
-rw-r--r-- | recipes-core/packagegroups/packagegroup-rpi-test.bb | 7 |
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 |
2 | include rpi-basic-image.bb | 2 | include rpi-basic-image.bb |
3 | 3 | ||
4 | COMPATIBLE_MACHINE = "^rpi$" | ||
5 | |||
4 | IMAGE_INSTALL_append = " packagegroup-rpi-test" | 6 | IMAGE_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 | ||
5 | inherit packagegroup | 5 | inherit packagegroup |
6 | 6 | ||
7 | COMPATIBLE_MACHINE = "^rpi$" | ||
8 | |||
9 | OMXPLAYER_rpi = "omxplayer" | ||
10 | OMXPLAYER_rpi_aarch64 = "" | ||
11 | |||
7 | RDEPENDS_${PN} = "\ | 12 | RDEPENDS_${PN} = "\ |
8 | omxplayer \ | 13 | ${OMXPLAYER} \ |
9 | bcm2835-tests \ | 14 | bcm2835-tests \ |
10 | wiringpi \ | 15 | wiringpi \ |
11 | rpio \ | 16 | rpio \ |