[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] hw/Makefile.objs question
From: |
Alexey Kardashevskiy |
Subject: |
[Qemu-devel] hw/Makefile.objs question |
Date: |
Thu, 21 Jun 2012 13:22:14 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 |
I am trying to compile the very last qemu with vfio_pci enabled. VFIO_PCI is
added as below:
./configure:
case "$target_arch2" in
i386|x86_64|ppc64)
if test "$vfio_pci" = "yes" -a "$target_softmmu" = "yes" ; then
echo "CONFIG_VFIO_PCI=y" >> $config_target_mak
fi
esac
./Makefile.target:
# VFIO PCI device assignment
obj-$(CONFIG_VFIO_PCI) += vfio_pci.o
And it worked before. However it does not anymore as it seems that everything
in hw/ (and vfio_pci.c
as well as is in hw/ and it is a device) can be only compiled via
hw/Makefile.objs and
hw/ppc/Makefile.objs (my platform is POWER), it is ignored if to keep it as is.
So I have to move "obj-$(CONFIG_VFIO_PCI) += vfio_pci.o" to hw/Makefile.objs
(and change obj- to
hw-obj-) but the hw/Makefile.objs does not include (directly or indirectly)
generated
ppc64-softmmu/config-target.mak with CONFIG_VFIO_PCI=y.
What is the correct solution?
--
Alexey
- [Qemu-devel] hw/Makefile.objs question,
Alexey Kardashevskiy <=
- Re: [Qemu-devel] hw/Makefile.objs question, Andreas Färber, 2012/06/21
- Re: [Qemu-devel] hw/Makefile.objs question, Alexey Kardashevskiy, 2012/06/21
- Re: [Qemu-devel] hw/Makefile.objs question, Andreas Färber, 2012/06/21
- Re: [Qemu-devel] hw/Makefile.objs question, Alexey Kardashevskiy, 2012/06/21
- Re: [Qemu-devel] hw/Makefile.objs question, Anthony Liguori, 2012/06/21
- Re: [Qemu-devel] hw/Makefile.objs question, Andreas Färber, 2012/06/21
- Re: [Qemu-devel] hw/Makefile.objs question, Alex Williamson, 2012/06/21
- Re: [Qemu-devel] hw/Makefile.objs question, Alexey Kardashevskiy, 2012/06/21