summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot
diff options
context:
space:
mode:
authorRodrigo R. Galvao <rosattig@linux.vnet.ibm.com>2018-08-06 13:42:03 -0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-08-08 00:32:36 +1000
commitbadf436f6fa5dc864d579d73fe75386b743470c0 (patch)
treeb70be73b661b5acc8d1c84cd315773164a6d5b49 /arch/powerpc/boot
parentf8db2007ff5838aff696bd4297eefcc77af2cf46 (diff)
downloadlinux-0-day-badf436f6fa5dc864d579d73fe75386b743470c0.tar.gz
linux-0-day-badf436f6fa5dc864d579d73fe75386b743470c0.tar.xz
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/boot')
-rw-r--r--arch/powerpc/boot/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index deea20c334df4..0fb96c26136f6 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boot/Makefile
@@ -354,7 +354,7 @@ image-$(CONFIG_AMIGAONE) += cuImage.amigaone
# For 32-bit powermacs, build the COFF and miboot images
# as well as the ELF images.
-ifeq ($(CONFIG_PPC32),y)
+ifdef CONFIG_PPC32
image-$(CONFIG_PPC_PMAC) += zImage.coff zImage.miboot
endif