I'm using yocto project sumo branch to build linux kernel for my sama5d27 som1 board. I'm trying to reduce the size of the released kernel so I replaced sysVinit to busybox init and now I am trying to replace gClibrary with musl C library.
Under my Poky directory I cloned meta-musl layer using:
git clone git://github.com/kraj/meta-musl.git
I added the layer to bblayers.conf and also added TCLIBC = "musl" to local.conf I initialized the environment and then run bitbake core-image-minimal
I got these errors:
ERROR: systemd-1_237-r0 do_compile: Function failed: do_compile (log file is located at /home/gaston/linux4sam/poky/build-microchip/tmp/work/cortexa5t2hf-neon-poky-linux-musleabi/systemd/1_237-r0/temp/log.do_compile.6846)
ERROR: Logfile of failure stored in: /home/gaston/linux4sam/poky/build-microchip/tmp/work/cortexa5t2hf-neon-poky-linux-musleabi/systemd/1_237-r0/temp/log.do_compile.6846
ERROR: Task (/home/gaston/linux4sam/poky/meta/recipes-core/systemd/systemd_237.bb:do_compile) failed with exit code '1'
How can i fix this please ?