Makefile: do not repeat $(CONFIG_SOFTMMU) in hw/Makefile.objs
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Jul 2019 17:03:53 +0000 (19:03 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Jul 2019 18:58:37 +0000 (20:58 +0200)
commit2d1794e9562ef39e320a1e08a34831c152c18c1a
tree02f82bb77d3e571356609e6a500726381ad5fbce
parentc363fd483c011755d05e14baae0f777cfdfded9e
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>
hw/Makefile.objs