i2c: Add a CONFIG_I2C master switch to the configuration files
commit50876ead08531686275e6fe1999a2d80c7450d67
authorThomas Huth <thuth@redhat.com>
Mon, 22 Jan 2018 15:27:33 +0000 (22 16:27 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 5 Feb 2018 17:09:45 +0000 (5 18:09 +0100)
tree487c761d65102b93e0634b2ee7ba0be426c191f5
parent9d70618c6842570226866f9409d7b8c4d6489da6
i2c: Add a CONFIG_I2C master switch to the configuration files

The i2c core and the at24c EEPROM should only be compiled and linked
on the machines that support i2c. Otherwise it's quite strange to see
the at24c-eeprom to be "available" on qemu-system-s390x for example.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1516634853-15883-1-git-send-email-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
default-configs/arm-softmmu.mak
default-configs/i386-softmmu.mak
default-configs/mips-softmmu-common.mak
default-configs/ppc-softmmu.mak
default-configs/ppcemb-softmmu.mak
default-configs/x86_64-softmmu.mak
hw/i2c/Makefile.objs
hw/nvram/Makefile.objs