summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2017-07-26 12:49:51 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2017-07-27 10:56:34 +0200
commit56d0bdb5fe818858a152a793a363bbe86d46d430 (patch)
tree0906bfeb86ed3d9bf23a2a226bf3593452e67554 /recipes-devtools/python
parentab4006bb2e6f51ea49c074fc0e9b1a50c96c01e1 (diff)
downloadmeta-raspberrypi-56d0bdb5fe818858a152a793a363bbe86d46d430.tar.gz
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 <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-devtools/python')
-rw-r--r--recipes-devtools/python/rpi-gpio_0.6.2.bb2
-rw-r--r--recipes-devtools/python/rpio_0.10.0.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes-devtools/python/rpi-gpio_0.6.2.bb b/recipes-devtools/python/rpi-gpio_0.6.2.bb
index a08ea98..9c72168 100644
--- a/recipes-devtools/python/rpi-gpio_0.6.2.bb
+++ b/recipes-devtools/python/rpi-gpio_0.6.2.bb
@@ -17,5 +17,5 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
17 17
18inherit distutils 18inherit distutils
19 19
20COMPATIBLE_MACHINE = "raspberrypi" 20COMPATIBLE_MACHINE = "^rpi$"
21 21
diff --git a/recipes-devtools/python/rpio_0.10.0.bb b/recipes-devtools/python/rpio_0.10.0.bb
index 1a6cee7..998fdb3 100644
--- a/recipes-devtools/python/rpio_0.10.0.bb
+++ b/recipes-devtools/python/rpio_0.10.0.bb
@@ -14,7 +14,7 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
14 14
15inherit setuptools 15inherit setuptools
16 16
17COMPATIBLE_MACHINE = "raspberrypi" 17COMPATIBLE_MACHINE = "^rpi$"
18 18
19RDEPENDS_${PN} = "\ 19RDEPENDS_${PN} = "\
20 python-logging \ 20 python-logging \