[leaf-devel] buildtool does not pass environment parameteres to makefile

2012-10-17 Thread Erich Titl
Hi Folks This has driven me crazy for a long time and was the reason for a number of quirks in the makefiles. When calling 'build' the buildtool passes the parameters defined in buildtool.cfg to the environment and thus to the makefile. here...

Re: [leaf-devel] x86_64 toolchain

2012-10-17 Thread Andrew
16.10.2012 18:50, Yves Blusseau пишет: Le 16/10/2012 17:42, Yves Blusseau a écrit : Le 16/10/2012 17:33, Andrew a écrit : 16.10.2012 18:17, Yves Blusseau пишет: Le It's works ! I have compiled bash, busybox and openssh with the x86_64 toolchain and install them into the staging dir. Then i

Re: [leaf-devel] x86_64 toolchain

2012-10-17 Thread Yves Blusseau
Hi all, I think i found the ultimate solution :) (after several hours searching on the net). The best is to create a toolchain that always used /usr/lib (instead of /usr/lib64) on 64bits architecture. So nothing need to be change in packages. To do that we need to patch the gcc source a

Re: [leaf-devel] buildtool does not pass environment parameteres to makefile

2012-10-17 Thread Yves Blusseau
Le 17/10/2012 10:18, Erich Titl a écrit : Hi Folks This has driven me crazy for a long time and was the reason for a number of quirks in the makefiles. When calling 'build' the buildtool passes the parameters defined in buildtool.cfg to the environment and thus to the makefile. here...

Re: [leaf-devel] x86_64 toolchain

2012-10-17 Thread Andrew
17.10.2012 13:20, Yves Blusseau пишет: Hi all, I think i found the ultimate solution :) (after several hours searching on the net). The best is to create a toolchain that always used /usr/lib (instead of /usr/lib64) on 64bits architecture. So nothing need to be change in packages. To do

Re: [leaf-devel] x86_64 toolchain

2012-10-17 Thread Yves Blusseau
Le 17/10/2012 13:08, Andrew a écrit : I think that this patch will not break anything for 32bit toolchain. It will because if you used -m32 it will look for lib in /usr/lib32 :( So we only need to patch the source only for 64bits arch. Yves

Re: [leaf-devel] x86_64 toolchain

2012-10-17 Thread Andrew
17.10.2012 15:07, Yves Blusseau пишет: Le 17/10/2012 13:08, Andrew a écrit : I think that this patch will not break anything for 32bit toolchain. It will because if you used -m32 it will look for lib in /usr/lib32 :( So we only need to patch the source only for 64bits arch. Yves It'll look

Re: [leaf-devel] x86_64 toolchain

2012-10-17 Thread Yves Blusseau
Le 17/10/2012 15:50, Andrew a écrit : 17.10.2012 15:07, Yves Blusseau пишет: Le 17/10/2012 13:08, Andrew a écrit : I think that this patch will not break anything for 32bit toolchain. It will because if you used -m32 it will look for lib in /usr/lib32 :( So we only need to patch the source

Re: [leaf-devel] x86_64 toolchain

2012-10-17 Thread Andrew
17.10.2012 18:01, Yves Blusseau пишет: Le 17/10/2012 15:50, Andrew a écrit : 17.10.2012 15:07, Yves Blusseau пишет: Le 17/10/2012 13:08, Andrew a écrit : I think that this patch will not break anything for 32bit toolchain. It will because if you used -m32 it will look for lib in /usr/lib32 :(

Re: [leaf-devel] openswan

2012-10-17 Thread KP Kirchdoerfer
Am 17.10.2012 15:55, schrieb Erich Titl: Hi Folks I was working with the openswan version in maint and had to make a few adjustments to various files in that version, most to cater for safe inclusion of the kernel module into moddb and one fix for the pluto daemon to handle a broken android

Re: [leaf-devel] x86_64 toolchain

2012-10-17 Thread Yves Blusseau
Le 17 oct. 2012 à 17:27, Andrew a écrit : 17.10.2012 18:01, Yves Blusseau пишет: Le 17/10/2012 15:50, Andrew a écrit : 17.10.2012 15:07, Yves Blusseau пишет: Le 17/10/2012 13:08, Andrew a écrit : I think that this patch will not break anything for 32bit toolchain. It will because if you

Re: [leaf-devel] x86_64 toolchain

2012-10-17 Thread Yves Blusseau
Le 17 oct. 2012 à 17:27, Andrew a écrit : There is still one question - about linker lib: it is /lib/ld64-uClibc.so.0 for 64bit and /lib/ld-uClibc.so.0 for 32bit; it's symlink for uClibc library. We can provide into initrd both links, and IMHO it'll be enough good - as far as we

Re: [leaf-devel] openswan

2012-10-17 Thread Erich Titl
Hi KP at 17.10.2012 17:31, KP Kirchdoerfer wrote: Am 17.10.2012 15:55, schrieb Erich Titl: Hi Folks I was working with the openswan version in maint and had to make a few adjustments to various files in that version, most to cater for safe inclusion of the kernel module into moddb and one

Re: [leaf-devel] x86_64 toolchain

2012-10-17 Thread Andrew
17.10.2012 19:24, Yves Blusseau пишет: Le 17 oct. 2012 à 17:27, Andrew a écrit : 17.10.2012 18:01, Yves Blusseau пишет: Le 17/10/2012 15:50, Andrew a écrit : 17.10.2012 15:07, Yves Blusseau пишет: Le 17/10/2012 13:08, Andrew a écrit : I think that this patch will not break anything for

Re: [leaf-devel] openswan

2012-10-17 Thread Yves Blusseau
Le 17 oct. 2012 à 19:10, Erich Titl a écrit : Hi KP at 17.10.2012 17:31, KP Kirchdoerfer wrote: Am 17.10.2012 15:55, schrieb Erich Titl: Hi Folks I was working with the openswan version in maint and had to make a few adjustments to various files in that version, most to cater for safe

Re: [leaf-devel] openswan

2012-10-17 Thread Erich Titl
on 17.10.2012 19:51, Yves Blusseau wrote: about how to format the commit message. Like KP said if you are unsure push to a remote branch : erich-openswan-update with git push origin HEAD:erich-openswan-update Jez, it's a no brainer. Much too complicated. Somehow I don't like the