Dear all,
are there any news on this topic? best regards, ciao luigi On Fri, Feb 6, 2009 at 9:44 AM, Luigi 'Comio' Mantellini <luigi.mantellini...@gmail.com> wrote: > Dear All, > > this is my patch, based on the work of Nico. This patch should be considered > > as "what luigi thinks about it". > > The patch add the following: > > - the v2 patch from Nico > > - the TOOLCHAIN_DIR is fixed with respect the EXTERNAL_TOOLCHAIN_ROOT_DIR > > - Few package fixes (ie iproute2) > > In addition I added a wrapper.sh script used to make the OperWRT SDK a > usable > > external toolchain. This wrapper.sh fixes the sysroot in order to be sure > that > > the correct directory is chosen. > > Anyway, I started from Nico v3 patch and I think that the patch v4 is better > > for the toolchain directories (LIB, INC, ...) setup. > > I hope that my work can be useful for the community. > > ciao ciao > > luigi > > > > Il giovedì 05 febbraio 2009 20:29:49 Luigi Mantellini ha scritto: > >> I'm preparing a new version of the patch. (I will post tomorrow, now > >> I'm at home to wach my cartoons). > >> > >> Briefly, I added some option to override the sysroot and I also > >> modified the gcc Makefile in order to create a toolchain wrapper that > >> fixes the sysroot. This change is necessary to use better the > >> Openwrt-SDK as an external toolchain. I wil post tomorrow the patch > >> and I will try to explain better. > >> > >> ciao > >> > >> luigi > >> > >> 2009/2/5 Florian Fainelli <flor...@openwrt.org>: > >> > Hi Nico, Luigi, > >> > > >> > Le Thursday 05 February 2009 13:29:04 Nico, vous avez écrit : > >> >> Hi Luigi, > >> >> > >> >> following your suggestions, i updated the patch [1] to support a > >> >> toolchain root config and added 2 options to specify additional > >> >> directories to search for header files and libraries. > >> >> > >> >> I dropped the LD_LIBRARY_PATH hack as I'm not sure it's actually > >> >> useful, but it could easily be added later if it proves it is. > >> > > >> > Nice work ! I will test your patch. > >> > -- > >> > Best regards, Florian Fainelli > >> > Email : flor...@openwrt.org > >> > http://openwrt.org > >> > ------------------------------- > > -- > > > -- Luigi 'Comio' Mantellini R&D - Software Industrie Dial Face S.p.A. Via Canzo, 4 20068 Peschiera Borromeo (MI), Italy Tel.: +39 02 5167 2813 Fax: +39 02 5167 2459 web: www.idf-hit.com mail: luigi.mantell...@idf-hit.com _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel