Makefile 873 Bytes
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1
#
Matthew Wilcox's avatar
Matthew Wilcox committed
2
# Makefile for arch/parisc/kernel
Linus Torvalds's avatar
Linus Torvalds committed
3 4
#

Matthew Wilcox's avatar
Matthew Wilcox committed
5 6 7 8 9
ifdef CONFIG_PARISC64
EXTRA_TARGETS := init_task.o pdc_cons.o process.o head64.o unaligned.o perf.o perf_asm.o
else
EXTRA_TARGETS := init_task.o pdc_cons.o process.o head.o unaligned.o
endif
Linus Torvalds's avatar
Linus Torvalds committed
10

Matthew Wilcox's avatar
Matthew Wilcox committed
11 12
AFLAGS_entry.o := -traditional
AFLAGS_pacache.o := -traditional
Linus Torvalds's avatar
Linus Torvalds committed
13

14
export-objs	:= parisc_ksyms.o 
Linus Torvalds's avatar
Linus Torvalds committed
15

Matthew Wilcox's avatar
Matthew Wilcox committed
16 17 18 19 20
obj-y	     	:= cache.o pacache.o setup.o traps.o time.o irq.o \
		   pa7300lc.o syscall.o entry.o sys_parisc.o firmware.o \
		   ptrace.o hardware.o inventory.o drivers.o semaphore.o \
		   signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \
		   processor.o pdc_chassis.o
Linus Torvalds's avatar
Linus Torvalds committed
21

Matthew Wilcox's avatar
Matthew Wilcox committed
22 23
obj-$(CONFIG_SMP) += smp.o 
obj-$(CONFIG_PA11) += pci-dma.o
Linus Torvalds's avatar
Linus Torvalds committed
24
obj-$(CONFIG_PCI) += pci.o
Matthew Wilcox's avatar
Matthew Wilcox committed
25 26 27 28
obj-$(CONFIG_PARISC64) += binfmt_elf32.o sys_parisc32.o \
		ioctl32.o signal32.o
# only supported for PCX-W/U in 64-bit mode at the moment
obj-$(CONFIG_PARISC64) += perf.o perf_asm.o