50876ead08
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>
8 lines
253 B
Makefile
8 lines
253 B
Makefile
common-obj-$(CONFIG_DS1225Y) += ds1225y.o
|
|
common-obj-y += eeprom93xx.o
|
|
common-obj-$(CONFIG_I2C) += eeprom_at24c.o
|
|
common-obj-y += fw_cfg.o
|
|
common-obj-y += chrp_nvram.o
|
|
common-obj-$(CONFIG_MAC_NVRAM) += mac_nvram.o
|
|
obj-$(CONFIG_PSERIES) += spapr_nvram.o
|