diff options
author | Jan Luebbe <jlu@pengutronix.de> | 2013-05-02 15:59:47 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-05-07 16:36:03 +0200 |
commit | 14d5d1dcf44e091a6734e063efef20a2585f7263 (patch) | |
tree | d05e5fbef4f440ceabd4f3759c84a45e7a43fd70 /rules/host-qemu.make | |
parent | 986be20d4dd92b5c56d3395ac7657b45f360ba5a (diff) | |
download | ptxdist-14d5d1dcf44e091a6734e063efef20a2585f7263.tar.gz ptxdist-14d5d1dcf44e091a6734e063efef20a2585f7263.tar.xz |
host-qemu: add package for a host-side qemuptxdist-2013.05.0
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
[mol: menuconfig, disable fdt and generalize target list]
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-qemu.make')
-rw-r--r-- | rules/host-qemu.make | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/rules/host-qemu.make b/rules/host-qemu.make new file mode 100644 index 000000000..9a59e3214 --- /dev/null +++ b/rules/host-qemu.make @@ -0,0 +1,93 @@ +# -*-makefile-*- +# +# Copyright (C) 2012 by Bernhard Walle <bernhard@bwalle.de> +# (C) 2013 by Michael Olbrich <m.olbrich@pengutronix.de> +# (C) 2013 by Jan Luebbe <j.luebbe@pengutronix.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.4.1 +HOST_QEMU_MD5 := eb2d696956324722b5ecfa46e41f9a75 +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_TARGETS := \ + $(call ptx/ifdef, PTXCONF_ARCH_X86,,$(PTXCONF_ARCH_STRING)) \ + $(call ptx/ifdef, PTXCONF_ARCH_X86,i386,) +HOST_QEMU_SYS_TARGETS := $(patsubst %,%-softmmu,$(HOST_QEMU_TARGETS)) +HOST_QEMU_USR_TARGETS := $(patsubst %,%-linux-user,$(HOST_QEMU_TARGETS)) + +HOST_QEMU_CONF_TOOL := autoconf +# 'net user' support: there is no --enable-slirp, so we have to leave out --disable-slirp +# firmware blobs: there is no --enable-blobs, so we have to leave out --disable-blobs +HOST_QEMU_CONF_OPT := \ + $(HOST_AUTOCONF) \ + --target-list=" \ + $(call ptx/ifdef, PTXCONF_HOST_QEMU_SYS,$(HOST_QEMU_SYS_TARGETS),) \ + $(call ptx/ifdef, PTXCONF_HOST_QEMU_USR,$(HOST_QEMU_USR_TARGETS),) \ + " \ + --disable-debug-tcg \ + --disable-sparse \ + --disable-werror \ + --disable-sdl \ + --disable-vnc \ + --disable-cocoa \ + --audio-drv-list= \ + --audio-card-list= \ + --disable-xen \ + --disable-brlapi \ + --disable-curses \ + --disable-curl \ + --disable-fdt \ + --disable-bluez \ + --disable-kvm \ + --disable-tcg-interpreter \ + --enable-nptl \ + --$(call ptx/endis, PTXCONF_HOST_QEMU_SYS)-system \ + --disable-user \ + --$(call ptx/endis, PTXCONF_HOST_QEMU_USR)-linux-user \ + --disable-bsd-user \ + --enable-guest-base \ + --disable-uuid \ + --disable-vde \ + --disable-linux-aio \ + --disable-cap-ng \ + --disable-attr \ + --disable-docs \ + --disable-vhost-net \ + --disable-spice \ + --disable-opengl \ + --disable-rbd \ + --disable-libiscsi \ + --disable-smartcard-nss \ + --disable-usb-redir \ + --disable-guest-agent \ + --disable-seccomp \ + --disable-glusterfs \ + --disable-virtio-blk-data-plane \ + --disable-tools + +# vim: syntax=make |