1*4882a593SmuzhiyunThe recipes-rt recipes provide package and image recipes for using and testing 2*4882a593Smuzhiyunthe PREEMPT_RT kernel. The core-image-rt*.bb images are minimal images with 3*4882a593Smuzhiyuna couple extra packages, including rt-tests. In order to build the image with 4*4882a593Smuzhiyunthe linux-yocto-rt kernel, be sure to include the following line in your 5*4882a593Smuzhiyunlocal.conf, bblayers.conf, or your $MACHINE.conf. 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunPREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt" 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunIf you are creating a new BSP which should use linux-yocto-rt by default, 10*4882a593Smuzhiyunuse the line above in the $MACHINE.conf in your BSP layer, and specify the 11*4882a593Smuzhiyunfollowing in a linux-yocto-rt bbappend recipe: 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunCOMPATIBLE_MACHINE_$MACHINE = $MACHINE 14