mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 15:13:52 +00:00
198016e1b1
We had hardcoded cpu_is_ macros for mxc architectures till now. As we want to run the same kernel on i.MX31 and i.MX35 this patch adds cpu_is_ macros which expand to 0 or 1 if only one architecture is compiled in and only check for the cpu type if more than one architecture is compiled in. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
11 lines
253 B
Makefile
11 lines
253 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
# Common support
|
|
obj-y := irq.o clock.o gpio.o time.o devices.o cpu.o
|
|
|
|
obj-$(CONFIG_ARCH_MX1) += iomux-mx1-mx2.o dma-mx1-mx2.o
|
|
obj-$(CONFIG_ARCH_MX2) += iomux-mx1-mx2.o dma-mx1-mx2.o
|
|
obj-$(CONFIG_MXC_PWM) += pwm.o
|