Re: [OpenWrt-Devel] [RFC] Distcc support

2009-10-19 Thread Luigi 'Comio' Mantellini
Hi All, I noticed some packages (like ncurses, ppp, ...) that don't like the parallel make (with -jX X1). My proposal is to define: MAKEJ1=$(MAKE) MAKE:=$(MAKE) -j$(CONFIG_JOBS) and use MAKEJ1 for these packages until we don't fix the issue. is it ok? ciao luigi Il domenica 18 ottobre

Re: [OpenWrt-Devel] [RFC] Distcc support

2009-10-19 Thread Luigi 'Comio' Mantellini
Hi All, I noticed that a lot of packages call make passing both all and install target at the same time. This is not right because we cannot sure that a rule like install: all is present in the package's makifile. To fix the problem, we need to do two different make calls, the first with all

[OpenWrt-Devel] [RFC] Distcc support

2009-10-18 Thread Luigi Mantellini
Hi ml, As we have the external toolchain support, we can consider to add a distcc support. I produced the following patch that I never tested yet! Just some information: - distcc must be usable only if EXTERNAL_TOOLCHAIN is used (it's mandatory to have the same compiler on all hosts...) -

Re: [OpenWrt-Devel] [RFC] Distcc support

2009-10-18 Thread poelzi
Luigi Mantellini wrote: As we have the external toolchain support, we can consider to add a distcc support. I produced the following patch that I never tested yet! Just some information: - distcc must be usable only if EXTERNAL_TOOLCHAIN is used (it's mandatory to have the same compiler

Re: [OpenWrt-Devel] [RFC] Distcc support

2009-10-18 Thread Luigi Mantellini
Hi Daniel, to have a consistent build it's mandatory to have the same toolchain. For this reason I think that distcc should be used only under this hypothesis. I'm using the external toolchain support and it works fine (I used ELDK's and CodeSourcery's toolchains with good results). I'm not

Re: [OpenWrt-Devel] [RFC] Distcc support

2009-10-18 Thread Luigi Mantellini
new patch v2 enjoy On Sun, Oct 18, 2009 at 12:07 PM, Luigi Mantellini luigi.mantellini...@gmail.com wrote: Hi ml, As we have the external toolchain support, we can consider to add a distcc support. I produced the following patch that I never tested yet! Just some information:  - distcc

Re: [OpenWrt-Devel] [RFC] Distcc support

2009-10-18 Thread Felix Fietkau
Luigi Mantellini wrote: Hi Daniel, to have a consistent build it's mandatory to have the same toolchain. For this reason I think that distcc should be used only under this hypothesis. I'm using the external toolchain support and it works fine (I used ELDK's and CodeSourcery's toolchains

Re: [OpenWrt-Devel] [RFC] Distcc support

2009-10-18 Thread Felix Fietkau
Luigi Mantellini wrote: Hi Felix On Sun, Oct 18, 2009 at 4:22 PM, Felix Fietkau n...@openwrt.org wrote: Though you prefer this option, I believe using external toolchain support in OpenWrt will always be the exception, not the rule. We can easily add toolchains like CodeSourcery's or ELDK's

Re: [OpenWrt-Devel] [RFC] Distcc support

2009-10-18 Thread Bastian Bittorf
Luigi Mantellini wrote: toolchain... it seems to work fine but I interrupted the compilation (today is sunday... and I need to see also the sun). The 'sun' is always under the desk. (in fact it's a full featured 2 x ultra-sparcII with maximum RAM) If you really want to see it, just place