Skip to content

Commit

Permalink
ppc64: Use arch/powerpc/platforms/powermac for powermac build.
Browse files Browse the repository at this point in the history
This switches the ARCH=ppc64 build to use arch/powerpc/platforms/powermac
instead of arch/ppc64/kernel/pmac*, and deletes the latter set of files.

Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Paul Mackerras committed Oct 22, 2005
1 parent 35499c0 commit 8342894
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 3,581 deletions.
4 changes: 4 additions & 0 deletions arch/powerpc/platforms/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
ifeq ($(CONFIG_PPC_MERGE),y)
obj-$(CONFIG_PPC_PMAC) += powermac/
else
ifeq ($(CONFIG_PPC64),y)
obj-$(CONFIG_PPC_PMAC) += powermac/
endif
endif
obj-$(CONFIG_4xx) += 4xx/
obj-$(CONFIG_85xx) += 85xx/
Expand Down
10 changes: 2 additions & 8 deletions arch/ppc64/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,15 @@ obj-$(CONFIG_HVCS) += hvcserver.o
obj-$(CONFIG_IBMVIO) += vio.o
obj-$(CONFIG_XICS) += xics.o

ifneq ($(CONFIG_PPC_MERGE),y)
obj-$(CONFIG_PPC_PMAC) += pmac_setup.o pmac_feature.o pmac_pci.o \
pmac_time.o pmac_nvram.o pmac_low_i2c.o \
udbg_scc.o
endif
obj-$(CONFIG_PPC_PMAC) += udbg_scc.o

obj-$(CONFIG_PPC_MAPLE) += maple_setup.o maple_pci.o maple_time.o \
udbg_16550.o

obj-$(CONFIG_U3_DART) += u3_iommu.o

ifdef CONFIG_SMP
ifneq ($(CONFIG_PPC_MERGE),y)
obj-$(CONFIG_PPC_PMAC) += pmac_smp.o smp-tbsync.o
endif
obj-$(CONFIG_PPC_PMAC) += smp-tbsync.o
obj-$(CONFIG_PPC_MAPLE) += smp-tbsync.o
endif

Expand Down
31 changes: 0 additions & 31 deletions arch/ppc64/kernel/pmac.h

This file was deleted.

Loading

0 comments on commit 8342894

Please sign in to comment.