Re: [OE-core] [jethro][master][PATCH 1/1] uninative.bbclass: Choose the correct loader based on BUILD_ARCH

2015-12-11 Thread Burton, Ross
On 10 December 2015 at 22:01, Burton, Ross wrote: > Would it be neater, and more flexible when other arches are different > (specifically I'm thinking of aarch64 here) to do: > > UNINATIVE_LOADER = "${STAGING_DIR_NATIVE}/lib/ld-linux.so.2" > UNINATIVE_LOADER_x86-64 =

Re: [OE-core] [jethro][master][PATCH 1/1] uninative.bbclass: Choose the correct loader based on BUILD_ARCH

2015-12-10 Thread Burton, Ross
On 9 December 2015 at 20:50, Randy Witt wrote: > -UNINATIVE_LOADER = "${STAGING_DIR_NATIVE}/lib/ld-linux-x86-64.so.2" > +UNINATIVE_LOADER ?= "${@bb.utils.contains('BUILD_ARCH', 'x86_64', > '${STAGING_DIR_NATIVE}/lib/ld-linux-x86-64.so.2', >

Re: [OE-core] [jethro][master][PATCH 1/1] uninative.bbclass: Choose the correct loader based on BUILD_ARCH

2015-12-10 Thread Randy Witt
On 12/10/2015 02:01 PM, Burton, Ross wrote: On 9 December 2015 at 20:50, Randy Witt wrote: -UNINATIVE_LOADER = "${STAGING_DIR_NATIVE}/lib/ld-linux-x86-64.so.2" +UNINATIVE_LOADER ?= "${@bb.utils.contains('BUILD_ARCH', 'x86_64',

[OE-core] [jethro][master][PATCH 1/1] uninative.bbclass: Choose the correct loader based on BUILD_ARCH

2015-12-09 Thread Randy Witt
Previously UNINATIVE_LOADER was always ld-linux-x86-64.so.2. That is incorrect when the host is 32-bit. This change also changes to using ?= so the user can override UNINATIVE_LOADER if so desired. [YOCTO #8124] Signed-off-by: Randy Witt ---