mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00:00
e951651657
Fixes a linker error when OMAP I2C bus driver is compiled as a module: ERROR: "i2c_register_board_info" [arch/arm/plat-omap/i2c.ko] undefined! The I2C utility functions used for board initialization should be always built-in. Signed-off-by: Aaro Koskinen <Aaro.Koskinen@nokia.com> Acked-by: Jarkko Nikula <jarkko.nikula@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
27 lines
611 B
Makefile
27 lines
611 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
# Common support
|
|
obj-y := common.o sram.o clock.o devices.o dma.o mux.o gpio.o \
|
|
usb.o fb.o io.o
|
|
obj-m :=
|
|
obj-n :=
|
|
obj- :=
|
|
|
|
# OCPI interconnect support for 1710, 1610 and 5912
|
|
obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o
|
|
|
|
obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
|
|
|
|
obj-$(CONFIG_CPU_FREQ) += cpu-omap.o
|
|
obj-$(CONFIG_OMAP_DM_TIMER) += dmtimer.o
|
|
obj-$(CONFIG_OMAP_DEBUG_DEVICES) += debug-devices.o
|
|
obj-$(CONFIG_OMAP_DEBUG_LEDS) += debug-leds.o
|
|
i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o
|
|
obj-y += $(i2c-omap-m) $(i2c-omap-y)
|
|
|
|
# OMAP mailbox framework
|
|
obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox.o
|
|
|