On 05/08/2012 05:50 PM, Bernhard Walle wrote: > Am 08.05.2012 09:12, schrieb Marc Kleine-Budde: >> On 05/07/2012 10:06 PM, Bernhard Walle wrote: >>> Build QEMU as part of the BSP and use our own QEMU in the startup >>> scripts. >>> >>> Tested on Mac OS 10.7 and Arch Linux. >> >> sysroot-host/bin is part of the standard path within ptxdist. > > But configs/i586-qemu-2011.11.0/run isn't executed in > the ptxdist environment, is it? Where does it get PTXDIST_PLATFORMDIR from? Marc > diff --git a/configs/arm-qemu-2011.11.0/run b/configs/arm-qemu-2011.11.0/run > index a653ee4..d643e17 100755 > --- a/configs/arm-qemu-2011.11.0/run > +++ b/configs/arm-qemu-2011.11.0/run > @@ -31,7 +31,7 @@ if [ ! -e "${PTXDIST_PLATFORMDIR}/images/hd.img" ]; then > fi > > # the emulator to run > -QEMU_EXEC=qemu-system-${PTXCONF_ARCH_STRING} > +QEMU_EXEC=${PTXDIST_PLATFORMDIR}/sysroot-host/bin/qemu-system-${PTXCONF_ARCH_STRING} > > # disable this, if you want to have some graphics output > QEMU_NOGRAPHIC=--nographic -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |