* Re: [ptxdist] [oselas] [PATCH] Add QEMU as hosttool
2012-05-08 15:50 ` [ptxdist] [oselas] [PATCH] Add QEMU as hosttool Bernhard Walle
@ 2012-05-08 16:12 ` Marc Kleine-Budde
0 siblings, 0 replies; 2+ messages in thread
From: Marc Kleine-Budde @ 2012-05-08 16:12 UTC (permalink / raw)
To: Bernhard Walle; +Cc: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 1325 bytes --]
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 |
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread