Am 02.07.2012 14:10, schrieb Alexey Kardashevskiy: > 02.07.2012 20:36, 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. > > At the moment, VFIO has #ifdef TARGET_PPC64 so it should be compiled per > target, i.e. the first way. Or not?
Yes, I believe so. Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg