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? -- With best regards Alexey Kardashevskiy -- icq: 52150396