diff options
author | Rodrigo R. Galvao <rosattig@linux.vnet.ibm.com> | 2018-08-06 13:42:03 -0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-08-08 00:32:36 +1000 |
commit | badf436f6fa5dc864d579d73fe75386b743470c0 (patch) | |
tree | b70be73b661b5acc8d1c84cd315773164a6d5b49 /arch/powerpc/platforms/cell | |
parent | f8db2007ff5838aff696bd4297eefcc77af2cf46 (diff) | |
download | op-kernel-dev-badf436f6fa5dc864d579d73fe75386b743470c0.zip op-kernel-dev-badf436f6fa5dc864d579d73fe75386b743470c0.tar.gz |
powerpc/Makefiles: Convert ifeq to ifdef where possible
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>
Diffstat (limited to 'arch/powerpc/platforms/cell')
-rw-r--r-- | arch/powerpc/platforms/cell/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/Makefile b/arch/powerpc/platforms/cell/Makefile index d5f808e..10064a3 100644 --- a/arch/powerpc/platforms/cell/Makefile +++ b/arch/powerpc/platforms/cell/Makefile @@ -10,7 +10,7 @@ obj-$(CONFIG_CBE_CPUFREQ_SPU_GOVERNOR) += cpufreq_spudemand.o obj-$(CONFIG_PPC_IBM_CELL_POWERBUTTON) += cbe_powerbutton.o -ifeq ($(CONFIG_SMP),y) +ifdef CONFIG_SMP obj-$(CONFIG_PPC_CELL_NATIVE) += smp.o endif |