Hi,
I am trying to add security flags like relro, pie, stack canary, nx and strip the libraries too.
For the same i tried to add meta-security bastille and added security_flags.inc in local.conf.
With this i am able to add security flags in all libraries but kernel modules.
I have added kernel module like brcm.ko or ov5640.ko , for these file nethier m able to add secure flags nor stripped.
Please share some doc to do the same using yocto.
Thanks.