mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 02:21:47 +00:00
aae7019382
Define deprecated symbols in an #ifdef IMX_NEEDS_DEPRECATED_SYMBOLS ... All files that still depend on the old definitions get -DIMX_NEEDS_DEPRECATED_SYMBOLS passed to the compiler. When all remaining users are fixed this allows including the soc specific headers unconditionally. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Russell King <linux@arm.linux.org.uk> Cc: Eric Benard <eric@eukrea.com> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Alan Carvalho de Assis <acassis@gmail.com> Cc: Daniel Mack <daniel@caiaq.de> Cc: Alberto Panizzo <maramaopercheseimorto@gmail.com> Cc: Ilya Yanok <yanok@emcraft.com> Cc: Holger Schurig <hs4233@mail.mn-solutions.de> Cc: Jiri Kosina <jkosina@suse.cz> Cc: Magnus Lilja <lilja.magnus@gmail.com>
27 lines
870 B
Makefile
27 lines
870 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
# Object file lists.
|
|
|
|
obj-y := generic.o devices.o serial.o
|
|
CFLAGS_generic.o = -DIMX_NEEDS_DEPRECATED_SYMBOLS
|
|
CFLAGS_devices.o = -DIMX_NEEDS_DEPRECATED_SYMBOLS
|
|
CFLAGS_serial.o = -DIMX_NEEDS_DEPRECATED_SYMBOLS
|
|
|
|
obj-$(CONFIG_MACH_MX21) += clock_imx21.o
|
|
|
|
obj-$(CONFIG_MACH_MX27) += cpu_imx27.o
|
|
obj-$(CONFIG_MACH_MX27) += clock_imx27.o
|
|
|
|
obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o
|
|
obj-$(CONFIG_MACH_MX27ADS) += mach-mx27ads.o
|
|
obj-$(CONFIG_MACH_PCM038) += mach-pcm038.o
|
|
obj-$(CONFIG_MACH_PCM970_BASEBOARD) += pcm970-baseboard.o
|
|
obj-$(CONFIG_MACH_MX27_3DS) += mach-mx27_3ds.o
|
|
obj-$(CONFIG_MACH_IMX27LITE) += mach-imx27lite.o
|
|
obj-$(CONFIG_MACH_CPUIMX27) += mach-cpuimx27.o
|
|
obj-$(CONFIG_MACH_EUKREA_MBIMX27_BASEBOARD) += eukrea_mbimx27-baseboard.o
|
|
obj-$(CONFIG_MACH_PCA100) += mach-pca100.o
|
|
obj-$(CONFIG_MACH_MXT_TD60) += mach-mxt_td60.o
|