Makefile: do not repeat $(CONFIG_SOFTMMU) in hw/Makefile.objs

The device directories must be included only for softmmu builds.
Instead of repeating $(CONFIG_SOFTMMU), use an "if".

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 file changed