[luci] can i use luci as admin front-end for non-openwrt ARM system?

Robert P. J. Day rpjday at crashcourse.ca
Fri Jul 23 15:20:14 CEST 2010


On Fri, 23 Jul 2010, Steven Barth wrote:

> Hi Robert,
>
> cross-compiling itself should not be a big deal. The Makefiles you
> use for compiling things locally are the same that are used for
> cross compiling. Only the parameters / environment is different,
> meaning you have to set the c- compiler (CC) the linker (LD) and so
> on to the appropriate cross-compilers while building and make sure
> you have an appropriate cross-compiling toolchain for the platform.
> In the end its the standard-procedure of cross-compiling on Linux.
> There is also no need for autotools in LuCI.

  i suspected as much, although would it not be more convenient to
simply define a single env var -- CROSS_COMPILE= -- and use that as
the basis for all cross-compilation for the rest of the build, rather
than having to individually set each of CC, LD and so on?  using a
single variable is pretty standard these days.  any reason it isn't
done this way for luci?

rday

-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Top-notch, inexpensive online Linux/OSS/kernel courses
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


More information about the luci mailing list