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>
This commit is contained in:
Rodrigo R. Galvao
2018-08-06 13:42:03 -03:00
committed by Michael Ellerman
parent f8db2007ff
commit badf436f6f
9 changed files with 29 additions and 27 deletions

View File

@@ -2,7 +2,7 @@
#
# Arch-specific network modules
#
ifeq ($(CONFIG_PPC64),y)
ifdef CONFIG_PPC64
obj-$(CONFIG_BPF_JIT) += bpf_jit_comp64.o
else
obj-$(CONFIG_BPF_JIT) += bpf_jit_asm.o bpf_jit_comp.o