mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
Python 3 interprets string literals as Unicode strings, and therefore \s is treated as an escaped Unicode character which is not correct. Declaring the RegEx pattern as a raw string instead of unicode is required for Python 3. (From OE-Core rev: d4e11eebdfe50acc124a87341721a12bc1c15024) Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Cherry-picked from master: f2d80817baea298b953d6e14daad65087b3b50c9 Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
The recipes-rt recipes provide package and image recipes for using and testing the PREEMPT_RT kernel. The core-image-rt*.bb images are minimal images with a couple extra packages, including rt-tests. In order to build the image with the linux-yocto-rt kernel, be sure to include the following line in your local.conf, bblayers.conf, or your $MACHINE.conf.
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
If you are creating a new BSP which should use linux-yocto-rt by default, use the line above in the $MACHINE.conf in your BSP layer, and specify the following in a linux-yocto-rt bbappend recipe:
COMPATIBLE_MACHINE_$MACHINE = $MACHINE