Skip to content

Commit

Permalink
waf-samba.bbclass: add missing qemu options
Browse files Browse the repository at this point in the history
- QEMU_OPTIONS is needed for running binary through qemu,
  add it for CROSS_EXEC.
- "-r ${OLDEST_KERNEL}" is already included in QEMU_OPTIONS,
  remove it from CROSS_EXEC

Signed-off-by: Jackie Huang <[email protected]>
Signed-off-by: Martin Jansa <[email protected]>
  • Loading branch information
jackiehjm authored and shr-project committed Oct 26, 2015
1 parent 94ea87e commit 113784e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions meta-oe/classes/waf-samba.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ do_configure() {

libdir_qemu="${STAGING_DIR_HOST}/${libdir}"
base_libdir_qemu="${STAGING_DIR_HOST}/${base_libdir}"
oldest_kernel_qemu=${OLDEST_KERNEL}

CROSS_EXEC="${qemu_binary} \
-r ${oldest_kernel_qemu} \
${QEMU_OPTIONS} \
-L ${STAGING_DIR_HOST} \
-E LD_LIBRARY_PATH=${libdir_qemu}:${base_libdir_qemu}"

Expand Down

0 comments on commit 113784e

Please sign in to comment.