Commit ba84c823 authored by Kai Germaschewski's avatar Kai Germaschewski

kbuild: arch/ppc64 cleanup / O_TARGET removal

parent ef7b31bd
...@@ -26,15 +26,8 @@ CPP = $(CC) -E $(CFLAGS) ...@@ -26,15 +26,8 @@ CPP = $(CC) -E $(CFLAGS)
HEAD := arch/ppc64/kernel/head.o HEAD := arch/ppc64/kernel/head.o
ARCH_SUBDIRS = arch/ppc64/kernel arch/ppc64/mm arch/ppc64/lib core-y += arch/ppc64/kernel/ arch/ppc64/mm/ arch/ppc64/lib/
SUBDIRS := $(SUBDIRS) $(ARCH_SUBDIRS) core-$(CONFIG_XMON) += arch/ppc64/xmon/
ARCHIVES := arch/ppc64/kernel/kernel.o arch/ppc64/mm/mm.o arch/ppc64/lib/lib.o $(ARCHIVES)
CORE_FILES := arch/ppc64/kernel/kernel.o arch/ppc64/mm/mm.o arch/ppc64/lib/lib.o $(CORE_FILES)
ifdef CONFIG_XMON
SUBDIRS += arch/ppc64/xmon
CORE_FILES += arch/ppc64/xmon/x.o
endif
MAKEBOOT = $(MAKE) -C arch/$(ARCH)/boot MAKEBOOT = $(MAKE) -C arch/$(ARCH)/boot
......
...@@ -6,7 +6,6 @@ EXTRA_CFLAGS = -mno-minimal-toc ...@@ -6,7 +6,6 @@ EXTRA_CFLAGS = -mno-minimal-toc
KHEAD := head.o KHEAD := head.o
O_TARGET := kernel.o
EXTRA_TARGETS := $(KHEAD) EXTRA_TARGETS := $(KHEAD)
export-objs := ppc_ksyms.o export-objs := ppc_ksyms.o
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for ppc64-specific library files.. # Makefile for ppc64-specific library files..
# #
O_TARGET = lib.o
export-objs := dec_and_lock.o export-objs := dec_and_lock.o
obj-y := checksum.o dec_and_lock.o string.o strcase.o copypage.o \ obj-y := checksum.o dec_and_lock.o string.o strcase.o copypage.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...
EXTRA_CFLAGS = -mno-minimal-toc EXTRA_CFLAGS = -mno-minimal-toc
O_TARGET := mm.o
obj-y := fault.o init.o extable.o imalloc.o obj-y := fault.o init.o extable.o imalloc.o
obj-$(CONFIG_DISCONTIGMEM) += numa.o obj-$(CONFIG_DISCONTIGMEM) += numa.o
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
EXTRA_CFLAGS = -mno-minimal-toc EXTRA_CFLAGS = -mno-minimal-toc
O_TARGET = x.o
obj-y := start.o xmon.o ppc-dis.o ppc-opc.o subr_prf.o setjmp.o obj-y := start.o xmon.o ppc-dis.o ppc-opc.o subr_prf.o setjmp.o
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
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