forked from Minki/linux
badf436f6f
In Makefiles if we're testing a CONFIG_FOO symbol for equality with 'y' we can instead just use ifdef. The latter reads easily, so convert to it where possible. Signed-off-by: Rodrigo R. Galvao <rosattig@linux.vnet.ibm.com> Reviewed-by: Mauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
19 lines
530 B
Makefile
19 lines
530 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for 52xx based boards
|
|
#
|
|
obj-y += mpc52xx_pic.o mpc52xx_common.o mpc52xx_gpt.o
|
|
obj-$(CONFIG_PCI) += mpc52xx_pci.o
|
|
|
|
obj-$(CONFIG_PPC_MPC5200_SIMPLE) += mpc5200_simple.o
|
|
obj-$(CONFIG_PPC_EFIKA) += efika.o
|
|
obj-$(CONFIG_PPC_LITE5200) += lite5200.o
|
|
obj-$(CONFIG_PPC_MEDIA5200) += media5200.o
|
|
|
|
obj-$(CONFIG_PM) += mpc52xx_sleep.o mpc52xx_pm.o
|
|
ifdef CONFIG_PPC_LITE5200
|
|
obj-$(CONFIG_PM) += lite5200_sleep.o lite5200_pm.o
|
|
endif
|
|
|
|
obj-$(CONFIG_PPC_MPC5200_LPBFIFO) += mpc52xx_lpbfifo.o
|