summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/cpu/Makefile')
-rw-r--r--arch/powerpc/cpu/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/cpu/Makefile b/arch/powerpc/cpu/Makefile
index d630abe..88b5298 100644
--- a/arch/powerpc/cpu/Makefile
+++ b/arch/powerpc/cpu/Makefile
@@ -1,3 +1,3 @@
-ifneq ($(filter mpc83xx mpc85xx mpc86xx,$(CPU)),)
-obj-y += mpc8xxx/
-endif
+obj-$(CONFIG_MPC83xx) += mpc8xxx/
+obj-$(CONFIG_MPC85xx) += mpc8xxx/
+obj-$(CONFIG_MPC86xx) += mpc8xxx/