[OpenWrt-Devel] Build host based tools
dirkneukirchen at web.de
Thu Feb 20 09:49:50 CET 2014
On 20.02.2014 09:30, Nils Rennebarth wrote:
> For my custom package, I need to build a tool from the package source that is only need for the build process, i.e. must run on the host, not on the target system. What is the appropriate way to do that?
> I suppose the proper way would be to put it in the tools directory, wher patch, cmake et. al are present as well. But this is not a general purpose tool but a specialized thing that is ony needed to build this custom package.
> Simply overwriting the CC, LD, AR, ...variables for compilation works.
> Is there a better (less hackish) way?
$(eval $(call HostBuild))
used in several feeds/packages
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3775 bytes
Desc: S/MIME Cryptographic Signature
More information about the openwrt-devel