I am building an openwrt system with selinux support. First I meet the bug that cannot find , during busybox compiling. And then I know that there is a libselinux library needed to build busybox with selinux support. As I am not very familiar with the openwrt Makefile, I want to know how to add a library in to it? Is there any guide? Further more, I have really find that the code in selinux github( https://github.com/SELinuxProject/selinux) is much different with the code I have find in my local linux source in openwrt ("/linux/security/selinux/*"). Why? I know that selinux is already supported in linux2.6. But it seems that I still have to port selinux to linux my self?
This problem has blocked me long time. Any soft of help will be greatly appreciated, thanks!