[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] hw/Makefile.objs question
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] hw/Makefile.objs question |
Date: |
Mon, 02 Jul 2012 14:10:23 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120421 Thunderbird/12.0 |
Am 02.07.2012 12:36, schrieb Paolo Bonzini:
> Il 21/06/2012 16:04, Andreas Färber ha scritto:
>>
>> *If* the file is built per target (hw/ppc64/Makefile.objs), then you can
>> use *-softmmu/config-target.mak and just need to use a different
>> Makefile than before.
>>
>> *If* the file is built per libhw (hw/Makefile.objs), then you need one
>> option whether to compile it and another for whether to link it into a
>> particular target.
>
> You only need the latter. Whether to compile it is decided by
> config-all-devices.mak, but that file is automatically generated by
> looking at all targets.
I was referring to hw-obj-$(CONFIG_FOO) in hw/Makefile.objs and
CONFIG_USES_FOO_IF_ENABLED=y in default-configs/ppc64-softmmu.mak.
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg