Commit ef7b31bd authored by Kai Germaschewski's avatar Kai Germaschewski

kbuild: arch/ppc cleanup / O_TARGET removal

parent 51345335
...@@ -2,9 +2,6 @@ ...@@ -2,9 +2,6 @@
# Makefile for the linux MPC4xx ppc-specific parts # Makefile for the linux MPC4xx ppc-specific parts
# #
O_TARGET := 4xx_io.o
#obj-y :=
obj-$(CONFIG_SERIAL_SICC) += serial_sicc.o obj-$(CONFIG_SERIAL_SICC) += serial_sicc.o
......
# #
# Makefile for the linux MPC8xx ppc-specific parts of comm processor # Makefile for the linux MPC8xx ppc-specific parts of comm processor
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := 8260_io.o
obj-y := commproc.o uart.o obj-y := commproc.o uart.o
......
# #
# Makefile for the linux MPC8xx ppc-specific parts of comm processor # Makefile for the linux MPC8xx ppc-specific parts of comm processor
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := 8xx_io.o
export-objs := fec.o export-objs := fec.o
......
...@@ -53,48 +53,18 @@ else ...@@ -53,48 +53,18 @@ else
endif endif
endif endif
ARCH_SUBDIRS = arch/ppc/kernel arch/ppc/platforms arch/ppc/mm arch/ppc/lib core-y += arch/ppc/kernel/ arch/ppc/platforms/
SUBDIRS := $(SUBDIRS) $(ARCH_SUBDIRS) arch/ppc/mm/ arch/ppc/lib/
CORE_FILES := arch/ppc/kernel/kernel.o arch/ppc/platforms/platform.o \ core-$(CONFIG_MATH_EMULATION) += arch/ppc/math-emu/
arch/ppc/mm/mm.o arch/ppc/lib/lib.o $(CORE_FILES) core-$(CONFIG_XMON) += arch/ppc/xmon/
core-$(CONFIG_APUS) += arch/ppc/amiga/
ifdef CONFIG_MATH_EMULATION core-$(CONFIG_PPC_ISERIES) += arch/ppc/iSeries/
SUBDIRS += arch/ppc/math-emu drivers-$(CONFIG_8xx) += arch/ppc/8xx_io/
CORE_FILES += arch/ppc/math-emu/math-emu.o drivers-$(CONFIG_4xx) += arch/ppc/4xx_io/
endif drivers-$(CONFIG_8260) += arch/ppc/8260_io/
ifdef CONFIG_XMON
SUBDIRS += arch/ppc/xmon
CORE_FILES += arch/ppc/xmon/x.o
endif
MAKEBOOT = $(MAKE) -C arch/$(ARCH)/boot MAKEBOOT = $(MAKE) -C arch/$(ARCH)/boot
ifdef CONFIG_8xx
SUBDIRS += arch/ppc/8xx_io
DRIVERS += arch/ppc/8xx_io/8xx_io.o
endif
ifdef CONFIG_8260
SUBDIRS += arch/ppc/8260_io
DRIVERS += arch/ppc/8260_io/8260_io.o
endif
ifdef CONFIG_4xx
SUBDIRS += arch/ppc/4xx_io
DRIVERS += arch/ppc/4xx_io/4xx_io.o
endif
ifdef CONFIG_APUS
SUBDIRS += arch/ppc/amiga
CORE_FILES += arch/ppc/amiga/amiga.o
endif
ifdef CONFIG_PPC_ISERIES
SUBDIRS += arch/ppc/iSeries
CORE_FILES += arch/ppc/iSeries/iSeries.o
endif
BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd pImage vmlinux.sm BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd pImage vmlinux.sm
AFLAGS_vmlinux.lds.o := -Upowerpc AFLAGS_vmlinux.lds.o := -Upowerpc
......
# #
# Makefile for Linux arch/m68k/amiga source directory # Makefile for Linux arch/m68k/amiga source directory
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definitions are now in the main makefile...
O_TARGET := amiga.o
export-objs := amiga_ksyms.o export-objs := amiga_ksyms.o
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
# Makefile for Linux arch/ppc/iSeries source directory # Makefile for Linux arch/ppc/iSeries source directory
# #
O_TARGET := iSeries.o
export-objs := iSeries_ksyms.o export-objs := iSeries_ksyms.o
obj-y += LparData.o ItLpQueue.o HvLpEvent.o HvCall.o mf.o iSeries_proc.o mf_proc.o iSeries_ksyms.o HvLpConfig.o pmc_proc.o rtc.o obj-y += LparData.o ItLpQueue.o HvLpEvent.o HvCall.o mf.o iSeries_proc.o mf_proc.o iSeries_ksyms.o HvLpConfig.o pmc_proc.o rtc.o
......
...@@ -18,7 +18,6 @@ HEAD-$(CONFIG_40x) := head_4xx.o ...@@ -18,7 +18,6 @@ HEAD-$(CONFIG_40x) := head_4xx.o
HEAD-$(CONFIG_8xx) := head_8xx.o HEAD-$(CONFIG_8xx) := head_8xx.o
HEAD-$(CONFIG_PPC_ISERIES) := iSeries_head.o HEAD-$(CONFIG_PPC_ISERIES) := iSeries_head.o
O_TARGET := kernel.o
EXTRA_TARGETS := $(HEAD-y) EXTRA_TARGETS := $(HEAD-y)
export-objs := ppc_ksyms.o time.o ppc405_dma.o export-objs := ppc_ksyms.o time.o ppc405_dma.o
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for ppc-specific library files.. # Makefile for ppc-specific library files..
# #
O_TARGET := lib.o
export-objs := dec_and_lock.o export-objs := dec_and_lock.o
obj-y := checksum.o string.o strcase.o dec_and_lock.o obj-y := checksum.o string.o strcase.o dec_and_lock.o
......
O_TARGET := math-emu.o
obj-y := math.o fmr.o lfd.o stfd.o obj-y := math.o fmr.o lfd.o stfd.o
......
# #
# Makefile for the linux ppc-specific parts of the memory manager. # Makefile for the linux ppc-specific parts of the memory manager.
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...
ifdef CONFIG_PPC64BRIDGE ifdef CONFIG_PPC64BRIDGE
EXTRA_AFLAGS := -Wa,-mppc64bridge EXTRA_AFLAGS := -Wa,-mppc64bridge
...@@ -13,7 +8,6 @@ endif ...@@ -13,7 +8,6 @@ endif
AFLAGS_hashtable.o += -I$(TOPDIR)/arch/$(ARCH)/kernel AFLAGS_hashtable.o += -I$(TOPDIR)/arch/$(ARCH)/kernel
O_TARGET := mm.o
obj-y := fault.o init.o mem_pieces.o extable.o \ obj-y := fault.o init.o mem_pieces.o extable.o \
mmu_context.o pgtable.o mmu_context.o pgtable.o
......
...@@ -12,8 +12,6 @@ endif ...@@ -12,8 +12,6 @@ endif
# Extra CFLAGS so we don't have to do relative includes # Extra CFLAGS so we don't have to do relative includes
CFLAGS_pmac_setup.o += -I$(TOPDIR)/arch/$(ARCH)/mm CFLAGS_pmac_setup.o += -I$(TOPDIR)/arch/$(ARCH)/mm
O_TARGET := platform.o
export-objs := prep_setup.o export-objs := prep_setup.o
obj-$(CONFIG_CEDER) += ceder.o ibmnp405l.o obj-$(CONFIG_CEDER) += ceder.o ibmnp405l.o
......
# Makefile for xmon # Makefile for xmon
O_TARGET := x.o
ifdef CONFIG_8xx ifdef CONFIG_8xx
obj-y := start_8xx.o obj-y := start_8xx.o
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment