Makefile (239060b93bb30a4ad55f1ecaa512464a035cc5ba) Makefile (ef9d9b8fb696850a95cd59ba2cd67991b6f722b3)
1#
2# Makefile for the i2c core.
3#
4
5obj-$(CONFIG_I2C_BOARDINFO) += i2c-boardinfo.o
6obj-$(CONFIG_I2C) += i2c-core.o
7obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o
8obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o
9obj-$(CONFIG_I2C_MUX) += i2c-mux.o
10obj-y += algos/ busses/ muxes/
11
1#
2# Makefile for the i2c core.
3#
4
5obj-$(CONFIG_I2C_BOARDINFO) += i2c-boardinfo.o
6obj-$(CONFIG_I2C) += i2c-core.o
7obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o
8obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o
9obj-$(CONFIG_I2C_MUX) += i2c-mux.o
10obj-y += algos/ busses/ muxes/
11
12ifeq ($(CONFIG_I2C_DEBUG_CORE),y)
13EXTRA_CFLAGS += -DDEBUG
14endif
12ccflags-$(CONFIG_I2C_DEBUG_CORE) := -DDEBUG