bsp41.0(s32g274ardb2)
modify the below file, add app: sample_user
fsl-auto-yocto-bsp-41.0/sources/meta-alb/recipes-kernel/ipc-shm/ipc-shm.bb
-DEMO_IPCF_APPS ?= "sample sample_multi_instance"
+DEMO_IPCF_APPS ?= "sample sample_multi_instance sample_user"
then
$ bitbake ipc-shm
...
| make[1]: Entering directory '/home/jaloo/sda2/s32g2/bsp/yocto/fsl-auto-yocto-bsp-41.0/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/ipc-shm/1.0-r0/git/sample_user'
| Makefile:64: warning: undefined variable 'PLATFORM'
| Building app file: sample.c
| aarch64-fsl-linux-gcc -fuse-ld=bfd -fmacro-prefix-map=/home/jaloo/sda2/s32g2/bsp/yocto/fsl-auto-yocto-bsp-41.0/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/ipc-shm/1.0-r0=/usr/src/debug/ipc-shm/1.0-r0 -fdebug-prefix-map=/home/jaloo/sda2/s32g2/bsp/yocto/fsl-auto-yocto-bsp-41.0/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/ipc-shm/1.0-r0=/usr/src/debug/ipc-shm/1.0-r0 -fdebug-prefix-map=/home/jaloo/sda2/s32g2/bsp/yocto/fsl-auto-yocto-bsp-41.0/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/ipc-shm/1.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/jaloo/sda2/s32g2/bsp/yocto/fsl-auto-yocto-bsp-41.0/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/ipc-shm/1.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/jaloo/sda2/s32g2/bsp/yocto/fsl-auto-yocto-bsp-41.0/build_s32g274ardb2/tmp/work-shared/s32g274ardb2/kernel-source=/usr/src/kernel -fdebug-prefix-map=/home/jaloo/sda2/s32g2/bsp/yocto/fsl-auto-yocto-bsp-41.0/build_s32g274ardb2/tmp/work-shared/s32g274ardb2/kernel-build-artifacts=/usr/src/kernel -c -Wall -g -I/home/jaloo/sda2/s32g2/bsp/yocto/fsl-auto-yocto-bsp-41.0/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/ipc-shm/1.0-r0/git/sample_user/../os_uio/.. -DCONFIG_SOC_ -o sample.o sample.c
| sample.c:5:10: fatal error: errno.h: No such file or directory
| 5 | #include <errno.h>
| | ^~~~~~~~~
...
My quesiton is: Can I build sample_user with ipc-shm.bb like this?