Re: [OE-core] [PATCH 2/2] Fix grep pattern when mklibs collects executables in rootfs

2013-11-12 Thread Lei Liu
On 2013年11月12日 18:23, Richard Purdie wrote: > On Mon, 2013-11-11 at 17:27 +0800, Lei Liu wrote: >> From: Lei Liu >> >> File command in some version could print extra space between >> "LSB" and "executable" - it causes mklibs can't find any execu

Re: [OE-core] [PATCH] Disable building libgcc with -O0

2013-11-12 Thread Lei Liu
On 2013年11月13日 07:58, Phil Blundell wrote: > On Mon, 2013-11-11 at 12:30 +0800, Lei Liu wrote: >> +def get_optimization(d): >> +selected_optimization = d.getVar("SELECTED_OPTIMIZATION", True) >> +if base_contains("SELECTED_OPTIMIZATION", "

[OE-core] [PATCH 1/2] mklibs: add dependency on dpkg-native

2013-11-11 Thread Lei Liu
From: Lei Liu mklibs requires the "dpkg-architecture" utility to work. Add dependency on dpkg-native. Signed-off-by: Lei Liu --- .../mklibs/mklibs-native_0.1.38.bb |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/meta/recipes-devtools/mkl

[OE-core] [PATCH 2/2] Fix grep pattern when mklibs collects executables in rootfs

2013-11-11 Thread Lei Liu
From: Lei Liu File command in some version could print extra space between "LSB" and "executable" - it causes mklibs can't find any executables using grep "LSB executable". Fix the grep pattern to catch multiple spaces. Signed-off-by: Lei Liu --- meta/

[OE-core] [PATCH] Enable building multiarch mips gcc

2013-11-10 Thread Lei Liu
-targets=all, as for other archs. Signed-off-by: Lei Liu --- meta/recipes-devtools/gcc/gcc-common.inc |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index adaef03..6f3bd24 100644 --- a

[OE-core] [PATCH] Disable building libgcc with -O0

2013-11-10 Thread Lei Liu
t calls to _Unwind_Resume get eliminated. Signed-off-by: Lei Liu --- meta/recipes-devtools/gcc/gcc-cross.inc | 9 + 1 file changed, 9 insertions(+) diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc index 25a3142..cf03c08 100644 --- a/meta/recipe