[luci] confused about how to cross-compile luci for ARM system
Steven Barth
steven at midlink.org
Tue Jul 27 14:54:41 CEST 2010
Hi,
Am Dienstag 27 Juli 2010, 14:48:25 schrieb Robert P. J. Day:
>
> a previous poster suggested that i need to do the luci build,
> setting CC and LD to the appropriate cross-compile commands, but i
> don't see how that can work since the Makefile hardcodes CC="cc".
It's a bit confusing but make overrides these "hardcoded" variables with the
ones you pass as arguments. This CC=cc is totally fine and only a default
value.
>
> when i'm cross-compiling something for a target, my generic recipe
> is:
>
> * cross-compile generic source on dev system
> * copy appropriate results to target system
> * test
Yes that should work as usual.
Regards,
Steven
More information about the luci
mailing list