kernel patch specified via SRC_URI never gets applied. I followed the instructions for adding and building a linux-windriver-custom recipe : https://knowledge.windriver.com/en-us/000_Products/000/010/000/030/000_Wind_River_Linux_Kernel_and_BSP_Developer's_Guide%2C_7.0/020/020 and i added a kernel-specific configuration and patch via SRC_URI variable but the patch never get applied to the kernel.
1. follow the documented instructions to build using a custom kernel recipe: --- https://knowledge.windriver.com/en-us/000_Products/000/010/000/030/000_Wind_River_Linux_Kernel_and_BSP_Developer's_Guide%2C_7.0/020/020 Building the Kernel Using the Custom Kernel Recipe --- Basically 4 files are created/modified. I attached them : they are bblayer.conf + wrl-7/workspace_IA/pp_custom-linux$ tree layers/local/recipes-kernel/linux/ layers/local/recipes-kernel/linux/ +-- linux-windriver-custom ¦ +-- 0001-Break-the-build.patch ¦ +-- defconfig +-- linux-windriver-custom.bbappend Hereafter my config line : --- configure --enable-jobs=4 --enable-parallel-pkgbuilds=4 --enable-board=qemux86-64 --enable-build=production --enable-kernel=standard --enable-rootfs=glibc-core --enable-unsupported-config=yes --enable-reconfig --enable-internet-download=yes --with-layer=wr-kernel/kernel-dev --with-template=feature/custom-kernel --with-rcpl-version=0020 --- Once the project is configure and the linux-windriver-custom recipe in place (defconfig + .patch + modification in bblayers.conf) make linux-windriver-custom ==> the patch is never applied although i verified SRC_URI is correctly set : --- wrsupport@xxxxx-Linux-desktop:~/Desktop/DATA_DISK/WR_Projects/wrl-7/workspace_IA/pp_custom-linux/bitbake_build$ bitbake -e linu x-windriver-custom | less ... # "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;name=machine;branch=${KBRANCH} file://defconfig file://0001-Break-the-build.patch" SRC_URI="git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;name=machine;branch=linux-4.5.y file://defconfig file://0001-Break-the-build.patch" ... # pre-expansion value: # "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;name=machine;branch=${KBRANCH} file://defconfig file: //0001-Break-the-build.patch" SRC_URI="git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;name=machine;branch=linux-4.5.y file://defconfig file://0001-Break-the-build.patch" # ---