mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-10-18 16:37:00 +00:00
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>
This commit is contained in:
1 parent
ab4006bb2e
commit
56d0bdb5fe
11 files changed
+11
-11
No files matched your search
@@ -17,5 +17,5 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
|
||||
|
||||
inherit distutils
|
||||
|
||||
COMPATIBLE_MACHINE = "raspberrypi"
|
||||
COMPATIBLE_MACHINE = "^rpi$"
|
||||
|
||||
@@ -14,7 +14,7 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
|
||||
|
||||
inherit setuptools
|
||||
|
||||
COMPATIBLE_MACHINE = "raspberrypi"
|
||||
COMPATIBLE_MACHINE = "^rpi$"
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
python-logging \
|
||||
|
||||
Reference in new issue
Block a user