mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
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>
29 lines
829 B
Makefile
29 lines
829 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_PPC_CELL_COMMON) += cbe_regs.o interrupt.o pervasive.o
|
|
|
|
obj-$(CONFIG_PPC_CELL_NATIVE) += iommu.o setup.o spider-pic.o \
|
|
pmu.o spider-pci.o
|
|
obj-$(CONFIG_CBE_RAS) += ras.o
|
|
|
|
obj-$(CONFIG_CBE_THERM) += cbe_thermal.o
|
|
obj-$(CONFIG_CBE_CPUFREQ_SPU_GOVERNOR) += cpufreq_spudemand.o
|
|
|
|
obj-$(CONFIG_PPC_IBM_CELL_POWERBUTTON) += cbe_powerbutton.o
|
|
|
|
ifdef CONFIG_SMP
|
|
obj-$(CONFIG_PPC_CELL_NATIVE) += smp.o
|
|
endif
|
|
|
|
# needed only when building loadable spufs.ko
|
|
spu-priv1-$(CONFIG_PPC_CELL_COMMON) += spu_priv1_mmio.o
|
|
spu-manage-$(CONFIG_PPC_CELL_COMMON) += spu_manage.o
|
|
|
|
obj-$(CONFIG_SPU_BASE) += spu_callbacks.o spu_base.o \
|
|
spu_notify.o \
|
|
spu_syscalls.o \
|
|
$(spu-priv1-y) \
|
|
$(spu-manage-y) \
|
|
spufs/
|
|
|
|
obj-$(CONFIG_AXON_MSI) += axon_msi.o
|