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