[ptxdist] [PATCH 1/2] dropbear: Delete old patches

2012-03-20 Thread Bernhard Walle
Seems to have been forgotten in the update (d12c29b0e40e1d3affc0490d18599abaa48fca30). Signed-off-by: Bernhard Walle bernh...@bwalle.de --- .../0001-libs-must-come-after-object-files.patch | 26 patches/dropbear-0.53.1/series |3 --- 2 files

[ptxdist] [PATCH 2/2] dropbear: Fix build on Darwin

2012-03-20 Thread Bernhard Walle
Signed-off-by: Bernhard Walle bernh...@bwalle.de --- .../0001-Fix-build-on-Darwin.patch | 44 patches/dropbear-2012.55/series|4 ++ 2 files changed, 48 insertions(+) create mode 100644

[ptxdist] [PATCH] configure.ac: Check for GNU ar

2012-03-20 Thread Bernhard Walle
To build the ipk packages, we need the 'f' flag which is a GNU extension: -{ ar(1) }-- f Truncate names in the archive. GNU ar will normally permit file names of any length. This will cause it to create archives

[ptxdist] Curious message when working with current PTXdist

2012-03-20 Thread Juergen Beisert
When working with the current master PTXdist (2012.03.0-00045-gbea40f0) at least when running the 'go' and 'images' commands PTXdist outputs the following text to stderr: expr: syntax error This does not happen when running the 'menuconfig' or 'platformconfig' commands. Regards, Juergen --

Re: [ptxdist] Curious message when working with current PTXdist

2012-03-20 Thread Andreas Bießmann
On 20.03.2012 09:21, Juergen Beisert wrote: When working with the current master PTXdist (2012.03.0-00045-gbea40f0) at least when running the 'go' and 'images' commands PTXdist outputs the following text to stderr: expr: syntax error see

Re: [ptxdist] [PATCH] configure.ac: Check for GNU ar

2012-03-20 Thread Andreas Bießmann
Dear Bernhard, On 20.03.2012 08:43, Bernhard Walle wrote: To build the ipk packages, we need the 'f' flag which is a GNU extension: -{ ar(1) }-- f Truncate names in the archive. GNU ar will normally permit file

Re: [ptxdist] [PATCH 4/9] [x86_64, multilib] Make packages install their libraries at the right place

2012-03-20 Thread Michael Olbrich
On Mon, Mar 19, 2012 at 08:07:26PM +0100, Remy Bohmer wrote: Hi, 2012/3/19 Michael Olbrich m.olbr...@pengutronix.de: +# Outputs 'lib' or 'lib64', derived from the ld-linux.so.2 from the compiler toolchain +CROSS_LIB_DIR        := $(shell   \ +     dl=$$(echo 'int main(void){return

Re: [ptxdist] [PATCH] [flashbench] Fix syntax error in case FLASHBENCH_MAX_BUFSIZE not defined

2012-03-20 Thread Michael Olbrich
On Mon, Mar 19, 2012 at 08:57:50PM +0100, Remy Bohmer wrote: This error occurs in case PTXCONF_FLASHBENCH_MAX_BUFSIZE is not defined: $ ptxdist get expr: syntax error make: Nothing to be done for `get'. Change-Id: I1978d62b8781dbd5090b8a47b8fd8b944e6c79dc Signed-off-by: Remy Bohmer

Re: [ptxdist] [PATCH] [flashbench] Fix syntax error in case FLASHBENCH_MAX_BUFSIZE not defined

2012-03-20 Thread Bernhard Walle
Am 20.03.2012 09:43, schrieb Michael Olbrich: On Mon, Mar 19, 2012 at 08:57:50PM +0100, Remy Bohmer wrote: This error occurs in case PTXCONF_FLASHBENCH_MAX_BUFSIZE is not defined: $ ptxdist get expr: syntax error make: Nothing to be done for `get'. Change-Id:

Re: [ptxdist] [PATCH 2/2] dropbear: Fix build on Darwin

2012-03-20 Thread Michael Olbrich
On Tue, Mar 20, 2012 at 08:31:43AM +0100, Bernhard Walle wrote: Signed-off-by: Bernhard Walle bernh...@bwalle.de Thanks. Both patches applied. Michael --- .../0001-Fix-build-on-Darwin.patch | 44 patches/dropbear-2012.55/series|

Re: [ptxdist] [PATCH 1/2] dropbear: Delete old patches

2012-03-20 Thread Alexander Dahl
Am 2012-03-20 08:31, schrieb Bernhard Walle: Seems to have been forgotten in the update (d12c29b0e40e1d3affc0490d18599abaa48fca30). Sorry, I should have checked if there were patches for dropbear, before updating. :-/ Alex -- »With the first link, the chain is forged. The first speech

[ptxdist] [PATCH][OSELAS.Toolchain] binutils-2.21.1a: remove annoying 'warn-on-all-TEXTRELs.patch'

2012-03-20 Thread Andreas Bießmann
The 'warn-on-all-TEXTRELs.patch' produces warnings on some embedded projects: ---8--- arm-v5te-linux-gnueabi-ld: warning: creating a DT_TEXTREL in object. textdata bss dec hex filename 4230767480 305016 735572 b3954 /tmp/build_arm_at91/u-boot ---8--- This renders this

Re: [ptxdist] [PATCH] [flashbench] Fix syntax error in case FLASHBENCH_MAX_BUFSIZE not defined

2012-03-20 Thread Michael Olbrich
On Mon, Mar 19, 2012 at 08:57:50PM +0100, Remy Bohmer wrote: This error occurs in case PTXCONF_FLASHBENCH_MAX_BUFSIZE is not defined: $ ptxdist get expr: syntax error make: Nothing to be done for `get'. Change-Id: I1978d62b8781dbd5090b8a47b8fd8b944e6c79dc Signed-off-by: Remy Bohmer

Re: [ptxdist] [PATCH] [flashbench] Fix syntax error in case FLASHBENCH_MAX_BUFSIZE not defined

2012-03-20 Thread Juergen Beisert
Bernhard Walle wrote: Am 20.03.2012 09:43, schrieb Michael Olbrich: On Mon, Mar 19, 2012 at 08:57:50PM +0100, Remy Bohmer wrote: This error occurs in case PTXCONF_FLASHBENCH_MAX_BUFSIZE is not defined: $ ptxdist get expr: syntax error make: Nothing to be done for `get'. Change-Id:

Re: [ptxdist] Curious message when working with current PTXdist

2012-03-20 Thread Juergen Beisert
Andreas Bießmann wrote: On 20.03.2012 09:21, Juergen Beisert wrote: When working with the current master PTXdist (2012.03.0-00045-gbea40f0) at least when running the 'go' and 'images' commands PTXdist outputs the following text to stderr: expr: syntax error see

Re: [ptxdist] [PATCH 4/9] [x86_64, multilib] Make packages install their libraries at the right place

2012-03-20 Thread Remy Bohmer
Hi, 2012/3/20 Michael Olbrich m.olbr...@pengutronix.de: -    local file=$(for dir in ${pkg_pkg_dir}/{,usr/}lib; do +    local file=$(for dir in ${pkg_pkg_dir}/{,usr/}lib{,64}; do I don't like the explicit lib64 here. Next we'll get some debian like multilib toolchain and it's

Re: [ptxdist] [PATCH] [flashbench] Fix syntax error in case FLASHBENCH_MAX_BUFSIZE not defined

2012-03-20 Thread Bernhard Walle
Hi Juergen, * Juergen Beisert j...@pengutronix.de [2012-03-20 10:09]: Just delay the evaluation of the expression to the point of time when it is really required. diff --git a/rules/flashbench.make b/rules/flashbench.make index fcb669e..0ef52d1 100644 --- a/rules/flashbench.make +++

Re: [ptxdist] [PATCH] [flashbench] Fix syntax error in case FLASHBENCH_MAX_BUFSIZE not defined

2012-03-20 Thread Juergen Beisert
Hi Bernhard, Bernhard Walle wrote: * Juergen Beisert j...@pengutronix.de [2012-03-20 10:09]: Just delay the evaluation of the expression to the point of time when it is really required. diff --git a/rules/flashbench.make b/rules/flashbench.make index fcb669e..0ef52d1 100644 ---

Re: [ptxdist] [PATCH] [flashbench] Fix syntax error in case FLASHBENCH_MAX_BUFSIZE not defined

2012-03-20 Thread Bernhard Walle
Hi Juergen, * Juergen Beisert j...@pengutronix.de [2012-03-20 20:28]: Bernhard Walle wrote: * Juergen Beisert j...@pengutronix.de [2012-03-20 10:09]: Just delay the evaluation of the expression to the point of time when it is really required. diff --git a/rules/flashbench.make

[ptxdist] [PATCH] flashbench: Fix error when flashbench is not selected

2012-03-20 Thread Bernhard Walle
When flashbench is not selected in ptxdist menuconfig, then $(PTXCONF_FLASHBENCH_MAX_BUFSIZE) is undefined. In that case, the expr call fails. Fix the problem by delaying the evaluation of FLASHBENCH_MAKE_OPT until it's really needed, i.e. when flashbench has been selected. Signed-off-by:

Re: [ptxdist] [PATCH] configure.ac: Check for GNU ar

2012-03-20 Thread Bernhard Walle
Hi Andreas, * Andreas Bießmann biessm...@corscience.de [2012-03-20 09:37]: this is annoying, it will require gnu binutils which is not available on my mac by default. Couldn't we use some approach like http://thread.gmane.org/gmane.comp.embedded.ptxdist.devel/8533 (pachting ipkg to use

Re: [ptxdist] [PATCH] [flashbench] Fix syntax error in case FLASHBENCH_MAX_BUFSIZE not defined

2012-03-20 Thread Remy Bohmer
Hi, 2012/3/20 Juergen Beisert j...@pengutronix.de: Just delay the evaluation of the expression to the point of time when it is really required. diff --git a/rules/flashbench.make b/rules/flashbench.make index fcb669e..0ef52d1 100644 --- a/rules/flashbench.make +++ b/rules/flashbench.make

Re: [ptxdist] [PATCH] [flashbench] Fix syntax error in case FLASHBENCH_MAX_BUFSIZE not defined

2012-03-20 Thread Remy Bohmer
Hi, 2012/3/20 Bernhard Walle bernh...@bwalle.de: Sorry, I had the old (unpatched) flashbench.make in the rules directory of the project... Will send a patch that uses '=' instead of ':=' which is ready to be applied. In that case I will drop my patch. Thanks. Kind regards, Remy --

Re: [ptxdist] [PATCH] flashbench: Fix error when flashbench is not selected

2012-03-20 Thread Remy Bohmer
Hi, 2012/3/20 Bernhard Walle bernh...@bwalle.de: When flashbench is not selected in ptxdist menuconfig, then $(PTXCONF_FLASHBENCH_MAX_BUFSIZE) is undefined. In that case, the expr call fails. Fix the problem by delaying the evaluation of FLASHBENCH_MAKE_OPT until it's really needed, i.e.

[ptxdist] [PATCH] ptxdist: Don't assume that we have a bashrc

2012-03-20 Thread Bernhard Walle
Usually there is one, but don't print an error if there is no one. Signed-off-by: Bernhard Walle bernh...@bwalle.de --- bin/ptxdist |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ptxdist b/bin/ptxdist index 440a7aa..37ab098 100755 --- a/bin/ptxdist +++

[ptxdist] [PATCH] Fix ptxdist -q kernelconfig without extracted kernel

2012-03-20 Thread Bernhard Walle
Normally if the kernel is not extracted when ptxdist kernelconfig is called, ptxdist extracts the kernel first. However, when used in quiet mode, that fails with an error like bash: -c: line 0: syntax error near unexpected

Re: [ptxdist] [PATCH] ptxdist: Don't assume that we have a bashrc

2012-03-20 Thread Alexander Dahl
Hei hei, Am 20.03.2012 20:46, schrieb Bernhard Walle: Usually there is one, but don't print an error if there is no one. I'm using zsh, not bash, but still have ~/.bashrc … what does this code try to do in the first place and how does this affect users of other shells? Greets Alex -- »With