Commit e49293de authored by Kai Germaschewski's avatar Kai Germaschewski

kbuild: arch/arm cleanup / O_TARGET removal

parent 8f60dddc
...@@ -165,29 +165,19 @@ endif ...@@ -165,29 +165,19 @@ endif
# Do we have FASTFPE? # Do we have FASTFPE?
FASTFPE :=arch/arm/fastfpe FASTFPE :=arch/arm/fastfpe
ifeq ($(FASTFPE),$(wildcard $(FASTFPE))) ifeq ($(FASTFPE),$(wildcard $(FASTFPE)))
SUBDIRS +=$(FASTFPE) FASTFPE_OBJ :=$(FASTFPE)/
FASTFPE_OBJ :=$(FASTFPE)/fast-math-emu.o
endif endif
# If we have a machine-specific directory, then include it in the build. # If we have a machine-specific directory, then include it in the build.
SUBDIRS +=arch/arm/mach-$(MACHINE) \ core-y += arch/arm/mach-$(MACHINE)/ \
arch/arm/kernel arch/arm/mm arch/arm/lib arch/arm/nwfpe arch/arm/kernel/ arch/arm/mm/
CORE_FILES :=arch/arm/mach-$(MACHINE)/$(MACHINE).o \ core-$(CONFIG_FPE_NWFPE) += arch/arm/nwfpe/
arch/arm/kernel/kernel.o arch/arm/mm/mm.o $(CORE_FILES) core-$(CONFIG_FPE_FASTFPE) += $(FASTFPE_OBJ)
LIBS :=arch/arm/lib/lib.a $(LIBS)
ifeq ($(CONFIG_FPE_NWFPE),y)
LIBS :=arch/arm/nwfpe/math-emu.o $(LIBS)
endif
ifeq ($(CONFIG_FPE_FASTFPE),y) drivers-$(CONFIG_ARCH_CLPS7500) += drivers/acorn/char/
LIBS :=$(FASTFPE_OBJ) $(LIBS) drivers-$(CONFIG_ARCH_L7200)) += drivers/acorn/char/
endif
ifeq ($(findstring y,$(CONFIG_ARCH_CLPS7500) $(CONFIG_ARCH_L7200)),y) libs-y += arch/arm/lib/
SUBDIRS +=drivers/acorn/char
DRIVERS +=drivers/acorn/char/built-in.o
endif
MAKEBOOT =$(MAKE) -C arch/$(ARCH)/boot MAKEBOOT =$(MAKE) -C arch/$(ARCH)/boot
MAKETOOLS =$(MAKE) -C arch/$(ARCH)/tools MAKETOOLS =$(MAKE) -C arch/$(ARCH)/tools
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
O_TARGET := kernel.o
ENTRY_OBJ = entry-$(PROCESSOR).o ENTRY_OBJ = entry-$(PROCESSOR).o
AFLAGS_head.o := -DTEXTADDR=$(TEXTADDR) AFLAGS_head.o := -DTEXTADDR=$(TEXTADDR)
......
# #
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
# 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).
O_TARGET := adifcc.o
# Object file lists. # Object file lists.
......
# #
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
# 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).
O_TARGET := anakin.o
# Object file lists. # Object file lists.
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
O_TARGET := arc.o
# Object file lists. # Object file lists.
obj-y := arch.o dma.o fault.o irq.o mm.o oldlatches.o \ obj-y := arch.o dma.o fault.o irq.o mm.o oldlatches.o \
......
# #
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
# 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).
O_TARGET := clps711x.o
# Object file lists. # Object file lists.
......
# #
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
# 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).
O_TARGET := clps7500.o
# Object file lists. # Object file lists.
......
# #
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
# 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).
O_TARGET := ebsa110.o
# Object file lists. # Object file lists.
......
# #
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
# 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).
O_TARGET := epxa10db.o
# Object file lists. # Object file lists.
......
# #
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
# 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).
O_TARGET := footbridge.o
# Object file lists. # Object file lists.
......
# #
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
# 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).
O_TARGET := ftvpci.o
# Object file lists. # Object file lists.
......
# #
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
# 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).
O_TARGET := integrator.o
# Object file lists. # Object file lists.
......
# #
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
# 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).
O_TARGET := iop310.o
# Object file lists. # Object file lists.
......
# #
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
# 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).
O_TARGET := l7200.o
# Object file lists. # Object file lists.
......
# #
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
# 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).
O_TARGET := pxa.o
obj-y :=
obj-m :=
obj-n :=
obj- :=
export-objs := generic.o irq.o dma.o sa1111.o export-objs := generic.o irq.o dma.o sa1111.o
......
# #
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
# 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).
O_TARGET := rpc.o
# Object file lists. # Object file lists.
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
O_TARGET := sa1100.o
# Common support (must be linked before board specific support) # Common support (must be linked before board specific support)
obj-y := generic.o irq.o dma.o obj-y := generic.o irq.o dma.o
obj-m := obj-m :=
......
# #
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
# 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).
O_TARGET := shark.o
# Object file lists. # Object file lists.
......
# #
# Makefile for the linux kernel. # Makefile for the linux kernel.
# #
# 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).
O_TARGET := tbox.o
# Object file lists. # Object file lists.
......
# #
# Makefile for the linux arm-specific parts of the memory manager. # Makefile for the linux arm-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
# Object file lists. # Object file lists.
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Copyright (C) 1998, 1999, 2001 Philip Blundell # Copyright (C) 1998, 1999, 2001 Philip Blundell
# #
O_TARGET := math-emu.o
obj-y := obj-y :=
obj-m := obj-m :=
obj-n := obj-n :=
......
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