From 56d0bdb5fe818858a152a793a363bbe86d46d430 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Wed, 26 Jul 2017 12:49:51 +0200 Subject: recipe: anchor regexps in COMPATIBLE_MACHINE * bitbake is using re.match, so raspberrypi actually matches with anything ^raspberrypi.* which currently works, but it will also match with hypothetical raspberrypi-is-no-more-this-is-banana-now MACHINE which isn't intended by this COMPATIBLE_MACHINE. Signed-off-by: Martin Jansa --- recipes-graphics/userland/userland_git.bb | 2 +- recipes-graphics/vc-graphics/vc-graphics.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes-graphics') diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb index 893fcba..8ff1411 100644 --- a/recipes-graphics/userland/userland_git.bb +++ b/recipes-graphics/userland/userland_git.bb @@ -12,7 +12,7 @@ PROVIDES = "virtual/libgles2 \ RPROVIDES_${PN} += "libgles2 egl" -COMPATIBLE_MACHINE = "raspberrypi" +COMPATIBLE_MACHINE = "^rpi$" SRCBRANCH = "master" SRCFORK = "raspberrypi" diff --git a/recipes-graphics/vc-graphics/vc-graphics.inc b/recipes-graphics/vc-graphics/vc-graphics.inc index a1c8d29..668c5ce 100644 --- a/recipes-graphics/vc-graphics/vc-graphics.inc +++ b/recipes-graphics/vc-graphics/vc-graphics.inc @@ -4,7 +4,7 @@ LICENSE = "Proprietary" LIC_FILES_CHKSUM = "file://LICENCE;md5=86e53f5f5909ee66900418028de11780" PROVIDES = "virtual/libgles2 virtual/egl" -COMPATIBLE_MACHINE = "raspberrypi" +COMPATIBLE_MACHINE = "^rpi$" include recipes-bsp/common/firmware.inc -- cgit v1.2.3-54-g00ecf