Hello,

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?

--
Nils Rennebarth
Software developer

bintec elmeg security GmbH

Mönchhaldenstraße 28
D-70191 Stuttgart
Germany

Tel: +49-711-900600-64
Email: [email protected]
www: www.bintec-elmeg.com

Location: Nuremberg, Local Court Nuremberg, HRB 25481<br>
Managing Director: Bernd Büttner

--------------------------------
The information contained in this e-mail has been carefully researched,
but the possibility of it being inapplicable in individual cases cannot
be ruled out. We therefore regret that we cannot accept responsibility
or liability of any kind whatsoever for the correctness of the
information given. Please notify us if you discover that information is
inapplicable.
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to