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>
12 lines
494 B
Makefile
12 lines
494 B
Makefile
common-obj-$(CONFIG_I2C) += core.o smbus.o smbus_eeprom.o
|
|
common-obj-$(CONFIG_DDC) += i2c-ddc.o
|
|
common-obj-$(CONFIG_VERSATILE_I2C) += versatile_i2c.o
|
|
common-obj-$(CONFIG_ACPI_X86) += smbus_ich9.o
|
|
common-obj-$(CONFIG_APM) += pm_smbus.o
|
|
common-obj-$(CONFIG_BITBANG_I2C) += bitbang_i2c.o
|
|
common-obj-$(CONFIG_EXYNOS4) += exynos4210_i2c.o
|
|
common-obj-$(CONFIG_IMX_I2C) += imx_i2c.o
|
|
common-obj-$(CONFIG_ASPEED_SOC) += aspeed_i2c.o
|
|
obj-$(CONFIG_OMAP) += omap_i2c.o
|
|
obj-$(CONFIG_PPC4XX) += ppc4xx_i2c.o
|