66384eedd9
Instead of having a platform device defined in a devices.c and register it in the machine file allocate it dynamically. This reduces the size of needed memory as the new function is discarded after init and only the existing devices are created. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
24 lines
611 B
Makefile
24 lines
611 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
# Common support
|
|
obj-y := irq.o clock.o gpio.o time.o devices.o cpu.o system.o
|
|
|
|
# MX51 uses the TZIC interrupt controller, older platforms use AVIC (irq.o)
|
|
obj-$(CONFIG_MXC_TZIC) += tzic.o
|
|
|
|
obj-$(CONFIG_IMX_HAVE_IOMUX_V1) += iomux-v1.o
|
|
obj-$(CONFIG_ARCH_MXC_IOMUX_V3) += iomux-v3.o
|
|
obj-$(CONFIG_MXC_PWM) += pwm.o
|
|
obj-$(CONFIG_USB_EHCI_MXC) += ehci.o
|
|
obj-$(CONFIG_MXC_ULPI) += ulpi.o
|
|
obj-$(CONFIG_ARCH_MXC_AUDMUX_V1) += audmux-v1.o
|
|
obj-$(CONFIG_ARCH_MXC_AUDMUX_V2) += audmux-v2.o
|
|
ifdef CONFIG_SND_IMX_SOC
|
|
obj-y += ssi-fiq.o
|
|
obj-y += ssi-fiq-ksym.o
|
|
endif
|
|
|
|
obj-y += devices/
|