mirror of
https://github.com/torvalds/linux.git
synced 2024-12-17 08:31:39 +00:00
7d58289fc3
The old names are defined only if the cpp symbol IMX_NEEDS_DEPRECATED_SYMBOLS exists, which is defined (for now) for all files below arch/arm/mach-mx1. This was done earlier for mx2 and mx3, too. USBD_INT0 is for now defined unconditionally to prevent breaking drivers/usb/gadget/imx_udc. While at it use IMX_IO_ADDRESS to define MX1_IO_ADDRESS which adds a cast to the IO_ADDRESS macro fixing many warnings like arch/arm/mach-mx1/generic.c:51: warning: passing argument 1 of 'mxc_init_irq' makes pointer from integer without a cast . Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
16 lines
352 B
Makefile
16 lines
352 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
# Object file lists.
|
|
|
|
EXTRA_CFLAGS += -DIMX_NEEDS_DEPRECATED_SYMBOLS
|
|
obj-y += generic.o clock.o devices.o
|
|
|
|
# Support for CMOS sensor interface
|
|
obj-$(CONFIG_MX1_VIDEO) += ksym_mx1.o mx1_camera_fiq.o
|
|
|
|
# Specific board support
|
|
obj-$(CONFIG_ARCH_MX1ADS) += mach-mx1ads.o
|
|
obj-$(CONFIG_MACH_SCB9328) += mach-scb9328.o
|