Commit 3c6c1425 authored by Kai Germaschewski's avatar Kai Germaschewski

kbuild: arch/sparc64 cleanup / O_TARGET removal

parent d779a520
...@@ -57,25 +57,10 @@ endif ...@@ -57,25 +57,10 @@ endif
HEAD := arch/sparc64/kernel/head.o arch/sparc64/kernel/init_task.o HEAD := arch/sparc64/kernel/head.o arch/sparc64/kernel/init_task.o
SUBDIRS += arch/sparc64/kernel arch/sparc64/lib arch/sparc64/mm \ core-y += arch/sparc64/kernel/ arch/sparc64/mm/
arch/sparc64/prom core-$(CONFIG_SOLARIS_EMUL) += arch/sparc64/solaris/
core-y += arch/sparc64/math-emu/
ifneq ($(CONFIG_SOLARIS_EMUL),n) libs-y += arch/sparc64/prom/ arch/sparc64/lib/
SUBDIRS += arch/sparc64/solaris
endif
SUBDIRS += arch/sparc64/math-emu
CORE_FILES := arch/sparc64/kernel/kernel.o arch/sparc64/mm/mm.o $(CORE_FILES)
ifeq ($(CONFIG_SOLARIS_EMUL),y)
CORE_FILES += arch/sparc64/solaris/solaris.o
endif
CORE_FILES += arch/sparc64/math-emu/math-emu.o
LIBS := $(TOPDIR)/lib/lib.a $(LIBS) $(TOPDIR)/arch/sparc64/prom/lib.a \
$(TOPDIR)/arch/sparc64/lib/lib.a
vmlinux.aout: vmlinux vmlinux.aout: vmlinux
$(ELFTOAOUT) -o $(TOPDIR)/vmlinux.aout $(TOPDIR)/vmlinux $(ELFTOAOUT) -o $(TOPDIR)/vmlinux.aout $(TOPDIR)/vmlinux
......
...@@ -6,7 +6,6 @@ SH = $(CONFIG_SHELL) ...@@ -6,7 +6,6 @@ SH = $(CONFIG_SHELL)
EXTRA_AFLAGS := -ansi EXTRA_AFLAGS := -ansi
O_TARGET := kernel.o
EXTRA_TARGETS := head.o init_task.o EXTRA_TARGETS := head.o init_task.o
export-objs := sparc64_ksyms.o export-objs := sparc64_ksyms.o
......
# #
# Makefile for the FPU instruction emulation. # Makefile for the FPU instruction emulation.
# #
# 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 := math-emu.o
obj-y := math.o obj-y := math.o
EXTRA_CFLAGS = -I. -I$(TOPDIR)/include/math-emu -w EXTRA_CFLAGS = -I. -I$(TOPDIR)/include/math-emu -w
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
EXTRA_AFLAGS := -ansi EXTRA_AFLAGS := -ansi
O_TARGET := mm.o
obj-y := ultra.o fault.o init.o generic.o extable.o modutil.o obj-y := ultra.o fault.o init.o generic.o extable.o modutil.o
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
......
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