Statically Linking a given binary within OpenWrt


Sorry for what seems like a basic question. I'm trying to build OpenWrt and want to include a statically linked version of netifd rather than dynamically including,, etc. I assume this might require editing the Makefile located in package/network/config/netifd, or maybe edit some global configuration option. What would be the easiest way to accomplish this?

Thanks in advance.