Statistics
| Branch: | Revision:

root / Makefile.target @ a992fe3d

History | View | Annotate | Download (10.3 kB)

# Date Author Comment
a992fe3d 11/22/2009 11:24 pm Paul Brook

Makefile dependencies for device configs

Add makefile dependencies for target specific device configs.
These will copy the default config if none exists, obsoleting the old
configure time code. If a config already exists but is older than the
default then print a warning....

f7c70325 11/19/2009 06:45 pm Paul Brook

ARM PBX-A9 board support

Implement ARM RealView PBX-A9 board support.

Signed-off-by: Paul Brook <>

f165b53a 11/19/2009 06:42 pm Paul Brook

Built network devices once

Move some generic NICS into libhw, and build them for ARM targets.

Signed-off-by: Paul Brook <>

2a424990 11/16/2009 07:06 pm Paul Brook

LAN9118 emulation

Add SMSC LAN9118 ethernet emulation.

Signed-off-by: Paul Brook <>

f527c579 11/12/2009 07:23 pm Juan Quintela

fix parallel build

Based on a ideas of Daniel Jacobowitz + Stefan Weil

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

a9f49946 11/09/2009 04:43 pm Isaku Yamahata

pci: pcie host and mmcfg support.

This patch adds common routines for pcie host bridge and pcie mmcfg.
This will be used by q35 based chipset emulation.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>

4f5e19e6 11/09/2009 04:43 pm Isaku Yamahata

pci_host.h: move functions in pci_host.h into .c file.

split static functions in pci_host.h into pci_host.c and
pci_host_template.h.
Later a structures declared in pci_host.h, PCIHostState, will be used.
However pci_host.h doesn't allow to include itself easily. This patches...

4f999d05 10/27/2009 07:28 pm Kevin Wolf

Split out bottom halves

Instead of putting more and more stuff into vl.c, let's have the generic
functions that deal with asynchronous callbacks in their own file.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>

94e1a912 10/27/2009 07:28 pm Gerd Hoffmann

pcnet: split away lance.c (sparc32 code).

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

4c3df0ec 10/12/2009 05:42 pm Juan Quintela

ide: split cmd646 and piix from pci.c

This patch splits cmd646 specific code from pci.c.
This patch splits piix4 specific code from pci.c.
And compile new piix.o and cmd646.o when they are needed.
The only change that is not code movemet is removal of cmd646 specific parts...

3d0f1517 10/09/2009 05:17 am Juan Quintela

Generate gdbstub-xml.c only when needed

First user of new config-devices.mak

Patchworks-ID: 35198
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

64257584 10/09/2009 05:17 am Juan Quintela

Only compile usb_ohci when one target uses it

Patchworks-ID: 35199
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

185c66c8 10/09/2009 05:17 am Juan Quintela

Only compile isa_mmio when one target uses it

Patchworks-ID: 35200
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

1f3d3c8f 10/09/2009 05:17 am Juan Quintela

Add new config-devices.mak for each target

We generate config-devices.h from there automatically.
We need to do it in main Makefile, because we are going to need a main
Makefile for them.

Patchworks-ID: 35196
Signed-off-by: Juan Quintela <>...

fe0d4d3f 10/09/2009 05:17 am Juan Quintela

Generate config-devices.h

Generate config-devices.h for each target and config-all-devices.h for
common library. We don't want to name both config-devices.h to avoid
path problems

Patchworks-ID: 35195
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

91880d96 10/09/2009 05:17 am Juan Quintela

Move generation of config-target.h to Makefile from configure

Patchworks-ID: 35194
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

25be210f 10/09/2009 05:17 am Juan Quintela

Rename config.{h, mak} config-target.{h, mak}

Add config.h file that includes config-target.h and config-host.h

Patchworks-ID: 35193
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

deed3ccf 10/09/2009 05:17 am Juan Quintela

Don't include config-host.mak from inside config.mak

Include it directly in Makefile.target

Patchworks-ID: 35189
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

add16157 09/27/2009 07:26 pm Blue Swirl

Compile some user files only once for all targets

Signed-off-by: Blue Swirl <>

05d00df4 09/27/2009 04:56 pm Blue Swirl

Fix user emulator breakage

Fix breakage in the following conditions:
- use in-tree building
- build user targets after system targets

Signed-off-by: Blue Swirl <>

3f600fa0 09/25/2009 10:21 pm Blue Swirl

Revert "This files are compiled in libqemu.a now"

This reverts commit fe6549dfd76c278dbcd788b3c15c5e6e5ed32190.

tcg-runtime and host-utils are needed on 32 bit host and they are not part
of libqemu.a.

Thanks to Stefan Weil for reporting.

Signed-off-by: Blue Swirl <>

befb0316 09/25/2009 06:28 pm Juan Quintela

clean: remove ide/*.o files on clean

Signed-off-by: Juan Quintela <>
Signed-off-by: Aurelien Jarno <>

fe6549df 09/23/2009 10:25 am Juan Quintela

This files are compiled in libqemu.a now

This fixes compilation of linux-user with today qemu, please apply.

Signed-off-by: Juan Quintela <>
Signed-off-by: Aurelien Jarno <>

52d94620 09/21/2009 06:24 pm Blue Swirl

Fix user targets broken by 96e132e24ee5a693069e83b6a981693588b088c1

Signed-off-by: Blue Swirl <>

c2b023b6 09/20/2009 10:20 pm Blue Swirl

Compile host-utils only once

See also facd2857783d58387885ad7cb1e4a8386f241738 and
34005a0060c176b3025a9e7c5d064615a9f80325.

Signed-off-by: Blue Swirl <>

96e132e2 09/20/2009 10:06 pm Blue Swirl

Compile TCG runtime library only once

Signed-off-by: Blue Swirl <>

bd390e64 09/20/2009 07:19 pm Blue Swirl

Compile ne2000 only once

Signed-off-by: Blue Swirl <>

afcea8cb 09/20/2009 07:05 pm Blue Swirl

ioports: remove unused env parameter and compile only once

The CPU state parameter is not used, remove it and adjust callers. Now we
can compile ioport.c once for all targets.

Signed-off-by: Blue Swirl <>

5e520a7d 09/20/2009 06:35 pm Blue Swirl

Compile msix only once

Get page size in device init.

Signed-off-by: Blue Swirl <>

ca20cf32 09/20/2009 05:58 pm Blue Swirl

Compile loader only once

Callers must pass ELF machine, byte swapping and symbol LSB clearing
information to ELF loader. A.out loader needs page size information, pass
that too as a parameter.

Extract prototypes to a separate file. Move loader.[ch] and elf_ops.h under hw....

a333cd71 09/20/2009 11:28 am Blue Swirl

Compile qemu-config only once

Signed-off-by: Blue Swirl <>

9801c7b4 09/20/2009 11:02 am Blue Swirl

Compile wdt_i6300esb only once

Signed-off-by: Blue Swirl <>

feef3102 09/15/2009 11:04 pm Gerd Hoffmann

ide/pci: convert to qdev.

With this patch applied ide drives (when attached to a pci adapter) can
be created via -device, like this:

-drive if=none,id=mydisk,file=/path/to/disk.img
-device ide-drive,drive=mydisk,bus=ide.0,unit=0

Note that creating a master on ide1 doesn't work that way. That is a...

5c637a20 09/14/2009 09:34 pm Blue Swirl

Fix breakage by f80237d45032fbc429aba3b597175fb544a11378 for ISA-less targets

Move ISA bus to HW library.

Signed-off-by: Blue Swirl <>

34005a00 09/12/2009 04:17 pm Kirill A. Shutemov

Add configure option to compile user targets as PIE

Build uset targers as true PIE if user want to keep qemu
self-virtualizable.

v5:
- Split into to patches: drop link hack and add PIE support
- do not build PIE by default and drop toolchain check

v4:...

9453c5bc 09/10/2009 06:48 pm Gerd Hoffmann

qdev/isa: convert ne2000

Also split the isa bits into a separate source file, so we don't drag in
a dependency for isa-bus.o for machines which want ne2k_pci only.

Signed-off-by: Gerd Hoffmann <>

47d37dd9 09/09/2009 10:55 pm Juan Quintela

vga: split pci bits into vga-pci.c

Adjust all the VGAState in VGACommonState
Compile vga-pci.o only for targets that use it.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

76323919 09/09/2009 10:55 pm Juan Quintela

vga: split isa bits inco vga-isa.c

Adjust all the VGAState in VGACommonState
Compile vga-isa.o in the targets that use it

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

79b97bf2 09/09/2009 10:55 pm Juan Quintela

vga: split vga-isa-mm.o

It is only used in mips softmmu, compile only there.
it_shift field was only used for vga_isa_mm, move it from VGACommonState
to ISAVGAMMstate.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

823e675a 09/04/2009 05:37 pm Juan Quintela

Split piix4 support from piix_pci.c

Now mips_malta uses piix4 and pc's use piix_pci definitions

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

59f2a787 08/28/2009 04:46 am Gerd Hoffmann

ide: move code to hw/ide/

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

ec82026c 08/28/2009 04:43 am Gerd Hoffmann

ide: split away ide-isa.c

create ide-isa.c and place isa bus support there.
only build ide-isa support for platforms using it.
also create ide.h header file.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

977e1244 08/28/2009 04:43 am Gerd Hoffmann

ide: split away ide-pci.c

create ide-pci.c and place pci bus support there.
only build ide-pci support for platforms using it.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

Fix build (merge with isa mmio split)

3d2bf4a1 08/28/2009 04:43 am Gerd Hoffmann

ide: split away ide-mmio.c

create ide-mmio.c and place mmio support there.
only build ide-mmio support for platforms using it.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

3f221c8d 08/28/2009 04:43 am Gerd Hoffmann

ide: split away ide-microdrive.c

create ide-microdrive.c and place microdrive support there.
only build ide-microdrive support for platforms using it.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

09aaa160 08/28/2009 04:35 am Markus Armbruster

qdev: convert watchdogs

-watchdog NAME is now equivalent to -device NAME, except it treats
option argument '?' specially, and supports only one watchdog.

A side effect is that a device created with -watchdog may now receive
a different PCI address.

i6300esb is now available on any machine with a PCI bus, not just PCs....

3a38d437 08/28/2009 04:30 am Jes Sorensen

Add isa_reserve_irq().

Introduce isa_reserve_irq() which marks an irq reserved and returns
the appropriate qemu_irq entry from the i8259 table.

isa_reserve_irq() is a temporary interface to be used to allocate ISA
IRQs for devices which have not yet been converted to qdev, and for...

523e727d 08/27/2009 05:04 pm malc

Remove a hack introduced by d19076faca944c31bb051b95d285e75ec67902f7

Work by Blue Swirl culminating with 5c55ff99fa88158871d5b9f619c485deae5f3d5b
made it unnecessary.

3987e1cf 08/24/2009 04:46 pm Michael S. Tsirkin

qemu: move virtio-pci.o to near pci.o

virtio-pci depends, and will always depend, on pci.c
so it makes sense to keep it in the same makefile,
(unlike the rest of virtio files which should eventually
be moved out to Makefile.hw).

Signed-off-by: Michael S. Tsirkin <>...

4a1418e0 08/24/2009 04:02 pm Anthony Liguori

Unbreak large mem support by removing kqemu

kqemu introduces a number of restrictions on the i386 target. The worst is that
it prevents large memory from working in the default build.

Furthermore, kqemu is fundamentally flawed in a number of ways. It relies on...

a25a0ef5 08/24/2009 04:02 pm Anthony Liguori

Only build osdep once

We no longer need hackery to work around kqemu

Signed-off-by: Anthony Liguori <>

ef07b491 08/23/2009 04:44 pm Andrzej Zaborowski

Extract the Marvell 88w8618 audio device from musicpal.c

Signed-off-by: Benoit Canet <>
Signed-off-by: Andrzej Zaborowski <>

3ead03bd 08/23/2009 04:38 pm Andrzej Zaborowski

Extract musicpal.c I2C bitbanging code and make it gpio aware

Signed-off-by: Benoit Canet <>
Signed-off-by: Andrzej Zaborowski <>

facd2857 08/16/2009 11:03 am Blue Swirl

user: compile host-utils.c only once

Signed-off-by: Blue Swirl <>

e27b27b3 08/16/2009 10:39 am Blue Swirl

Simplify 5ba6531956b9b6486560cbd13604c2238a3542dd

Thanks to Juan Quintela.

Signed-off-by: Blue Swirl <>

6af5a252 08/15/2009 11:47 am Blue Swirl

linux-user: compile envlist.c only once

Signed-off-by: Blue Swirl <>

5ba65319 08/15/2009 10:52 am Blue Swirl

user: compile ioport-user.c only for x86

Signed-off-by: Blue Swirl <>

37022086 08/15/2009 10:51 am Blue Swirl

user: compile path.c only once

Also merge bsd-user/path.c and linux-user/path.c.

Signed-off-by: Blue Swirl <>

562593aa 08/10/2009 09:11 pm Anthony Liguori

Add emacs header to Makefile.target

Signed-off-by: Anthony Liguori <>
Signed-off-by: Anthony Liguori <>
Message-Id:

f622d8a3 08/10/2009 09:05 pm Juan Quintela

convert gprof flags to style of rest of Makefile

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

f14bfdf9 08/10/2009 09:05 pm Juan Quintela

Move libsunpath to use the same style than everything else

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

f0302935 08/10/2009 09:05 pm Juan Quintela

CURL libs are used both by tools and softmmu

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

7973f21c 08/10/2009 09:05 pm Juan Quintela

Add cocoa libs at Darwin selection time

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

ed69c30d 08/10/2009 09:05 pm Juan Quintela

remove last 3 uses of :=, everywhere else uses += or =

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

55d9c04b 08/10/2009 09:05 pm Juan Quintela

Consolidate audio flags in configure

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

e18ea868 08/10/2009 09:05 pm Juan Quintela

use TARGET_<arch name> for selection

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

8e02e54c 08/10/2009 09:05 pm Juan Quintela

VDE libs are used both by tools and softmmu

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

64656024 08/10/2009 09:05 pm Juan Quintela

Move dis-* selection to configure

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

b248a85d 08/10/2009 09:05 pm Juan Quintela

Use only one KVM_CFLAGS

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

864de24a 08/10/2009 09:05 pm Juan Quintela

Use one less HELPER_CFLAGS

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

4de67f2f 08/10/2009 09:05 pm Juan Quintela

Make slirp include dir globlal in cflags

We already include it everywhere

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

d02c1db3 08/10/2009 09:05 pm Juan Quintela

Fold TARGET_GPROF handling in configure

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

57ddfbf7 08/10/2009 09:05 pm Juan Quintela

Generate more conmmon CFLAGS

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

471857dd 08/10/2009 09:05 pm Juan Quintela

Added CONFIG_NEED_MMU for microblaze and cris

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

6ee7126f 08/10/2009 09:05 pm Juan Quintela

Move alpha CFLAGS target to configure

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

c60d0afa 08/10/2009 09:05 pm Juan Quintela

Move ia64 QEMU_CFLAGS target to configure

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

10a072a2 08/10/2009 09:05 pm Juan Quintela

this bit was already generated in configure

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

7ce9361c 08/10/2009 09:05 pm Juan Quintela

remove duplicated TARGET_GPROF code

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

76dfdd24 08/10/2009 09:05 pm Juan Quintela

\!CONFIG_USER_ONLY == CONFIG_SOFTMMU

Use this to simplify Makefile.target and remove negative logic

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

d6b38939 08/10/2009 09:05 pm Juan Quintela

Introduce CONFIG_NOSOFTFLOAT and simplify Makefile.target

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

6362a53f 08/10/2009 09:05 pm Juan Quintela

Test if we need -lutil in ,/configure

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

d2ef30d5 08/10/2009 09:05 pm Juan Quintela

Fold CURSES_LIBS into libsoftmmu_libs

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

a5e32cc9 08/10/2009 09:05 pm Juan Quintela

Fold VNC_TLS_LIBS into libs_softmmu

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

fa838301 08/10/2009 09:05 pm Juan Quintela

Fold VNC_SASL_LIBS into libs_softmmu

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

3efd632b 08/10/2009 09:05 pm Juan Quintela

Fold XEN_LIBS into libs_softmmu

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

e482d56a 08/10/2009 09:05 pm Juan Quintela

Fold BLUEZ_LIBS into libs_softmmu

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

e4782985 08/10/2009 09:05 pm Juan Quintela

Fold FDT_LIBS into libs_softmmu

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

264606b3 08/10/2009 09:05 pm Juan Quintela

Fold BRLAPI_LIBS into libs_softmmu

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

0705667e 08/10/2009 09:05 pm Juan Quintela

Add SDL_LIBS to libs_softmmu

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

9f437a09 08/10/2009 09:05 pm Juan Quintela

gcc generates the right dependency for this file

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

997e690a 08/10/2009 09:05 pm Juan Quintela

move coreaudio libraries to coreaudio selection

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

a4bf6780 08/10/2009 09:05 pm Juan Quintela

Move sound library selection to sound selection

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

ba679e62 08/10/2009 09:05 pm Juan Quintela

files are only compiled when CONFIG_ADLIB is defined

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

edc0edf0 08/10/2009 09:05 pm Juan Quintela

We set -Werror through configure now

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

a558ee17 08/10/2009 09:05 pm Juan Quintela

Rename CPPFLAGS to QEMU_CFLAGS

Now we have to variables: QEMU_CFLAGS: flags without which we can't compile
CFLAGS: "-g -O2"

We can now run:

make CFLAGS="-fbar" foo.o
make CFLAGS="" foo.o
make CFLAGS="-O3" foo.o

And it all should work.

Signed-off-by: Juan Quintela <>...

6c90361a 08/10/2009 09:05 pm Juan Quintela

move common QEMU_CFLAGS to configure

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

c81da56e 08/10/2009 09:05 pm Juan Quintela

Refactor HELPER_CFLAGS

Calculate its value in ./configure.
Put together all its uses

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

07d9ac44 08/10/2009 09:05 pm Juan Quintela

move SDL_LIBS Win32 hack to configure

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

e174c0bb 08/10/2009 09:05 pm Juan Quintela

Move to configure CONFIG_SOLARIS libraries needed always

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

884044aa 08/10/2009 09:05 pm Juan Quintela

Move to configure CONFIG_WIN32 libraries needed always

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id: