diff options
author | Bernhard Walle <bernhard@bwalle.de> | 2012-06-10 17:09:20 +0200 |
---|---|---|
committer | Juergen Beisert <jbe@pengutronix.de> | 2012-06-10 21:12:27 +0200 |
commit | b009f5e62f37b07a4e7c3d2a55e8b2eed4ae62a3 (patch) | |
tree | 43395cd5c9e9cf7d895030056d9b8c044bb2c2b8 /rules | |
parent | c1ab82fb7e5f63523451ee3141251f4c6162f4b3 (diff) | |
download | OSELAS.BSP-Pengutronix-Generic-b009f5e62f37b07a4e7c3d2a55e8b2eed4ae62a3.tar.gz OSELAS.BSP-Pengutronix-Generic-b009f5e62f37b07a4e7c3d2a55e8b2eed4ae62a3.tar.xz |
Add QEMU as host tool
Build QEMU as part of the BSP and use our own QEMU in the startup
scripts.
Tested on Mac OS 10.7 and Ubuntu Linux.
Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/host-qemu.in | 8 | ||||
-rw-r--r-- | rules/host-qemu.make | 38 |
2 files changed, 46 insertions, 0 deletions
diff --git a/rules/host-qemu.in b/rules/host-qemu.in new file mode 100644 index 0000000..7be0310 --- /dev/null +++ b/rules/host-qemu.in @@ -0,0 +1,8 @@ +## SECTION=hosttools + +config HOST_QEMU + tristate + prompt "qemu" + select HOST_GLIB + help + CPU/System emulator diff --git a/rules/host-qemu.make b/rules/host-qemu.make new file mode 100644 index 0000000..6fd8133 --- /dev/null +++ b/rules/host-qemu.make @@ -0,0 +1,38 @@ +# -*-makefile-*- +# +# Copyright (C) 2012 by Bernhard Walle <bernhard@bwalle.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_QEMU) += host-qemu + +# +# Paths and names +# +HOST_QEMU_VERSION := 1.1.0-1 +HOST_QEMU_MD5 := f5c85c229b780bc39268845b6f365fc1 +HOST_QEMU := qemu-$(HOST_QEMU_VERSION) +HOST_QEMU_SUFFIX := tar.bz2 +HOST_QEMU_URL := http://wiki.qemu.org/download/$(HOST_QEMU).$(HOST_QEMU_SUFFIX) +HOST_QEMU_SOURCE := $(SRCDIR)/$(HOST_QEMU).$(HOST_QEMU_SUFFIX) +HOST_QEMU_DIR := $(HOST_BUILDDIR)/$(HOST_QEMU) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +HOST_QEMU_CONF_TOOL := autoconf +HOST_QEMU_CONF_OPT := $(HOST_AUTOCONF) \ + --target-list=arm-softmmu,i386-softmmu + +# vim: syntax=make |