powerpc/Makefiles: Convert ifeq to ifdef where possible
authorRodrigo R. Galvao <rosattig@linux.vnet.ibm.com>
Mon, 6 Aug 2018 16:42:03 +0000 (13:42 -0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 Aug 2018 14:32:36 +0000 (00:32 +1000)
commitbadf436f6fa5dc864d579d73fe75386b743470c0
treeb70be73b661b5acc8d1c84cd315773164a6d5b49
parentf8db2007ff5838aff696bd4297eefcc77af2cf46
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>
arch/powerpc/Makefile
arch/powerpc/boot/Makefile
arch/powerpc/kernel/Makefile
arch/powerpc/mm/Makefile
arch/powerpc/net/Makefile
arch/powerpc/platforms/52xx/Makefile
arch/powerpc/platforms/cell/Makefile
arch/powerpc/platforms/pseries/Makefile
arch/powerpc/sysdev/Makefile