aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/44x
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2017-08-08 16:39:18 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2017-08-10 23:29:03 +1000
commit8ab8fc688ac6ecbbc49ec05589f032830be7761c (patch)
tree6519ba7d7e81bfa773f124979aad9b5c852e0fa4 /arch/powerpc/platforms/44x
parentpowerpc/47x: Guard 47x cputable entries with CONFIG_PPC_47x (diff)
downloadlinux-dev-8ab8fc688ac6ecbbc49ec05589f032830be7761c.tar.xz
linux-dev-8ab8fc688ac6ecbbc49ec05589f032830be7761c.zip
powerpc/44x: Simplify CONFIG_44x checks in Makefile
The entire 44x directory is omitted if CONFIG_44x is not enabled, so within the 44x/Makefile CONFIG_44x is always y. So convert obj-$(CONFIG_44x) to the more obvious obj-y. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/44x')
-rw-r--r--arch/powerpc/platforms/44x/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/44x/Makefile b/arch/powerpc/platforms/44x/Makefile
index 72b824160660..71a7fccef675 100644
--- a/arch/powerpc/platforms/44x/Makefile
+++ b/arch/powerpc/platforms/44x/Makefile
@@ -1,6 +1,6 @@
-obj-$(CONFIG_44x) += misc_44x.o
+obj-y += misc_44x.o
ifneq ($(CONFIG_PPC4xx_CPM),y)
-obj-$(CONFIG_44x) += idle.o
+obj-y += idle.o
endif
obj-$(CONFIG_PPC44x_SIMPLE) += ppc44x_simple.o
obj-$(CONFIG_EBONY) += ebony.o