diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-26 12:49:51 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-27 10:56:34 +0200 |
| commit | 56d0bdb5fe818858a152a793a363bbe86d46d430 (patch) | |
| tree | 0906bfeb86ed3d9bf23a2a226bf3593452e67554 /recipes-devtools/wiringPi/wiringpi_git.bb | |
| parent | ab4006bb2e6f51ea49c074fc0e9b1a50c96c01e1 (diff) | |
| download | meta-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/wiringPi/wiringpi_git.bb')
| -rw-r--r-- | recipes-devtools/wiringPi/wiringpi_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-devtools/wiringPi/wiringpi_git.bb b/recipes-devtools/wiringPi/wiringpi_git.bb index 7953a55..f1b01db 100644 --- a/recipes-devtools/wiringPi/wiringpi_git.bb +++ b/recipes-devtools/wiringPi/wiringpi_git.bb | |||
| @@ -13,7 +13,7 @@ SRC_URI = "git://git.drogon.net/wiringPi \ | |||
| 13 | file://0001-Add-initial-cross-compile-support.patch \ | 13 | file://0001-Add-initial-cross-compile-support.patch \ |
| 14 | " | 14 | " |
| 15 | 15 | ||
| 16 | COMPATIBLE_MACHINE = "raspberrypi" | 16 | COMPATIBLE_MACHINE = "^rpi$" |
| 17 | 17 | ||
| 18 | CFLAGS_prepend = "-I${S}/wiringPi -I${S}/devLib " | 18 | CFLAGS_prepend = "-I${S}/wiringPi -I${S}/devLib " |
| 19 | 19 | ||
