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