summaryrefslogtreecommitdiffstats
path: root/Makefile.objs
Commit message (Collapse)AuthorAgeFilesLines
* Compile some MIPS devices only onceBlue Swirl2010-03-271-0/+6
| | | | | | Move CPU specific declarations to a separate file. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile ide/core only onceBlue Swirl2010-03-271-0/+1
| | | | | | | | | Make win2k install hack unconditional as it is still restricted to x86 only in vl.c. Replace TARGET_PAGE_SIZE and 4096 with PAGE_SIZE. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* target-s390: Don't compile in virtio-pciAlexander Graf2010-03-261-1/+2
| | | | | | | | | | | | | | As soon as virtio-pci.c gets compiled and used on S390 the internal qdev magic gets confused and tries to give us PCI devices instead of S390 virtio devices. Since we don't have PCI on S390, we can safely not compile virtio-pci at all. In order to do this I added a new config option "CONFIG_VIRTIO_PCI" that I enabled for every platform except S390. Thanks to this the change should be a complete nop for every other platform. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
* Compile virtio-pci only onceBlue Swirl2010-03-221-1/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile sound devices only onceBlue Swirl2010-03-221-0/+12
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile pci_host only onceBlue Swirl2010-03-211-1/+1
| | | | | | | | | | | Convert pci_host_conf_register_mmio_noswap(x) to pci_host_conf_register_mmio(x, 0). Convert pci_host_conf_register_mmio(x) to pci_host_conf_register_mmio(x, 1) for big endian hosts, all cases happen to be BE. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile pcie_host only onceBlue Swirl2010-03-211-1/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile pci only onceBlue Swirl2010-03-211-1/+1
| | | | | | Move coalesced_mmio declarations to a more accessible location. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile usb-ohci only onceBlue Swirl2010-03-211-0/+1
| | | | | | Push TARGET_WORDS_BIGENDIAN dependency to board level. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile serial only onceBlue Swirl2010-03-211-0/+1
| | | | | | Push TARGET_WORDS_BIGENDIAN dependency to board level. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile ne2000_isa only onceBlue Swirl2010-03-211-0/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile isa_mmio only onceBlue Swirl2010-03-211-0/+1
| | | | | | Push TARGET_WORDS_BIGENDIAN dependency to board level. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile most PCI network cards only onceBlue Swirl2010-03-211-0/+2
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile qemu-error only onceBlue Swirl2010-03-211-1/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile async only onceBlue Swirl2010-03-211-1/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile fdc only onceBlue Swirl2010-03-211-0/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile most IDE devices only onceBlue Swirl2010-03-211-0/+7
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile usb-uhci only onceBlue Swirl2010-03-211-0/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile vga-isa only onceBlue Swirl2010-03-211-0/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile pcspk only onceBlue Swirl2010-03-211-0/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile i8254 only onceBlue Swirl2010-03-211-0/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile parallel only onceBlue Swirl2010-03-211-0/+2
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile vga-pci only onceBlue Swirl2010-03-211-0/+3
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile disassemblers only onceBlue Swirl2010-03-211-0/+18
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Add support for generic notifier listsAnthony Liguori2010-03-191-0/+1
| | | | | | | | | | | | Notifiers are data-less callbacks and a notifier list is a list of registered notifiers that all are interested in a particular event. We'll use this in a few patches to implement mouse change notification. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> --- v1 -> v2 - Do not do memory allocations by placing list nodes in notifier
* virtio-console: Rename virtio-serial.c back to virtio-console.cAmit Shah2010-01-261-1/+1
| | | | | | | | | | | This file was renamed to ease the reviews of the recent changes that went in. Now that the changes are done, rename the file back to its original name. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Move virtio-serial to Makefile.objsAmit Shah2010-01-201-1/+1
| | | | | | | | There's nothing target-dependent in the virtio-serial code so allow it to be compiled just once for all the targets. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* move kbd/mouse handling to input.cPaolo Bonzini2010-01-131-1/+1
| | | | | | | | Move 200 lines out of vl.c already into common code that only needs to be compiled once. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Drop --whole-archive and static librariesAndreas Färber2010-01-071-0/+155
Juan has contributed a cool Makefile infrastructure that enables us to drop static libraries completely: Move shared obj-y definitions to Makefile.objs, prefixed {common-,hw-,user-}, and link those object files directly into the executables. Replace HWLIB by HWDIR, specifying only the directory. Drop --whole-archive and ARLIBS in Makefiles and configure. Drop GENERATED_HEADERS dependency in rules.mak, since this rebuilds all common objects after generating a target-specific header; add dependency rules to Makefile and Makefile.target instead. v2: - Don't try to include /config.mak for user emulators - Changes to user object paths ("Quickfix for libuser.a drop") were obsoleted by "user_only: compile everything with -fpie" (Kirill A. Shutemov) v3: - Fix dependency modelling for tools - Remove comment on GENERATED_HEADERS obsoleted by this patch Signed-off-by: Andreas Färber <afaerber@opensolaris.org> Cc: Blue Swirl <blauwirbel@gmail.com> Cc: Palle Lyckegaard <palle@lyckegaard.dk> Cc: Ben Taylor <bentaylor.solx86@gmail.com> Cc: Juan Quintela <quintela@trasno.org> Cc: Kirill A. Shutemov <kirill@shutemov.name> Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
OpenPOWER on IntegriCloud