Makefile 825 Bytes
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3 4 5
#
# Makefile for the linux kernel.
#

ifdef CONFIG_PPC64BRIDGE
Linus Torvalds's avatar
Linus Torvalds committed
6
EXTRA_AFLAGS		:= -Wa,-mppc64bridge
Linus Torvalds's avatar
Linus Torvalds committed
7
endif
8 9 10 11
ifdef CONFIG_4xx
EXTRA_AFLAGS		:= -Wa,-m405
endif

Linus Torvalds's avatar
Linus Torvalds committed
12 13
# Start off with 'head.o', change as needed.
HEAD-y				:= head.o
14
HEAD-$(CONFIG_40x)		:= head_4xx.o
Linus Torvalds's avatar
Linus Torvalds committed
15
HEAD-$(CONFIG_8xx)		:= head_8xx.o
16
HEAD-$(CONFIG_6xx)		+= idle_6xx.o
Linus Torvalds's avatar
Linus Torvalds committed
17

18
extra-y	:= $(HEAD-y)
Linus Torvalds's avatar
Linus Torvalds committed
19

Linus Torvalds's avatar
Linus Torvalds committed
20
obj-y				:= entry.o traps.o irq.o idle.o time.o misc.o \
Linus Torvalds's avatar
Linus Torvalds committed
21 22 23
					process.o signal.o ptrace.o align.o \
					semaphore.o syscalls.o setup.o \
					cputable.o ppc_htab.o
24
obj-$(CONFIG_6xx)		+= l2cr.o cpu_setup_6xx.o
25
obj-$(CONFIG_MODULES)		+= module.o ppc_ksyms.o
26 27
obj-$(CONFIG_PCI)		+= pci.o 
obj-$(CONFIG_PCI)		+= pci-dma.o
Linus Torvalds's avatar
Linus Torvalds committed
28 29
obj-$(CONFIG_KGDB)		+= ppc-stub.o
obj-$(CONFIG_SMP)		+= smp.o
Linus Torvalds's avatar
Linus Torvalds committed
30
obj-$(CONFIG_TAU)		+= temp.o
31 32 33

ifdef CONFIG_MATH_EMULATION
obj-$(CONFIG_8xx)		+= softemu8xx.o
Linus Torvalds's avatar
Linus Torvalds committed
34 35
endif