Commit 51345335 authored by Kai Germaschewski's avatar Kai Germaschewski

kbuild: arch/parisc cleanup / O_TARGET removal

parent f24aadaf
...@@ -38,21 +38,17 @@ CFLAGS += -mdisable-fpregs ...@@ -38,21 +38,17 @@ CFLAGS += -mdisable-fpregs
HEAD = arch/parisc/kernel/head.o HEAD = arch/parisc/kernel/head.o
SUBDIRS := $(SUBDIRS) $(addprefix arch/parisc/, tools kernel mm lib hpux) SUBDIRS += arch/parisc/tools
CORE_FILES := $(addprefix arch/parisc/, kernel/pdc_cons.o kernel/process.o \ core-y += arch/parisc/kernel/pdc_cons.o \
lib/lib.a mm/mm.o kernel/kernel.o hpux/hpux.o) \ arch/parisc/kernel/process.o \
$(CORE_FILES) arch/parisc/kernel/init_task.o arch/parisc/mm/ \
LIBS := `$(CC) -print-libgcc-file-name` $(TOPDIR)/arch/parisc/lib/lib.a $(LIBS) arch/parisc/kernel/ \
arch/parisc/hpux/ \
ifdef CONFIG_MATH_EMULATION arch/parisc/kernel/init_task.o
SUBDIRS := $(SUBDIRS) arch/parisc/math-emu libs-y += arch/parisc/lib/lib.a \
DRIVERS := $(DRIVERS) arch/parisc/math-emu/math.a `$(CC) -print-libgcc-file-name`
endif drivers-$(CONFIG_MATH_EMULATION) += arch/parisc/math-emu/
drivers-$(CONFIG_KWDB) += arch/parisc/kdb/
ifdef CONFIG_KWDB
SUBDIRS := $(SUBDIRS) arch/parisc/kdb
DRIVERS := $(DRIVERS) arch/parisc/kdb/kdb.o
endif
palo: vmlinux palo: vmlinux
export TOPDIR=`pwd`; export CONFIG_STI_CONSOLE=$(CONFIG_STI_CONSOLE); \ export TOPDIR=`pwd`; export CONFIG_STI_CONSOLE=$(CONFIG_STI_CONSOLE); \
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
O_TARGET := hpux.o
obj-y := entry_hpux.o gate.o wrappers.o fs.o ioctl.o sys_hpux.o obj-y := entry_hpux.o gate.o wrappers.o fs.o ioctl.o sys_hpux.o
EXTRA_AFLAGS := -traditional EXTRA_AFLAGS := -traditional
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
O_TARGET := kernel.o
EXTRA_TARGETS := head.o init_task.o process.o pdc_cons.o EXTRA_TARGETS := head.o init_task.o process.o pdc_cons.o
# Object file lists. # Object file lists.
......
# #
# Makefile for the linux parisc-specific parts of the memory manager. # Makefile for the linux parisc-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...
O_TARGET := mm.o objs-y := init.o fault.o kmap.o extable.o
O_OBJS := init.o fault.o kmap.o extable.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