Le 06/11/2017 à 01:44, Alexey Kardashevskiy a écrit : > On 04/11/17 06:38, Laurent Vivier wrote: >> linux-user binaries don't need firmware and NMI, >> so don't add them in this case, move QDEV >> firmware functions to qdev-fw.c > > > When configured with --target-list=ppc64-linux-user , config-host.mak gets > TARGET_DIRS=ppc64-linux-user and I would expect CONFIG_SOFTMMU to be > disabled in Makefile#27 and qdev.c not to be compiled at all but this is > not happening, I wonder why...
this is driven by config-target.mak and config-target.h which are target specific. for ppc64-linux-user, you have ppc64-linux-user/config-target.mak: ... CONFIG_LINUX_USER=y ... for ppc64-softmmu/config-target.mak: ... CONFIG_SOFTMMU=y ... Thanks, Laurent