1#
2# Makefile for the linux kernel.
3#
4# Note! Dependencies are done automagically by 'make dep', which also
5# removes any old dependencies. DON'T put your own dependencies here
6# unless it's something special (ie not a .c file).
7#
8# Note 2! The CFLAGS definitions are now in the main makefile...
9
10ifdef CONFIG_PARISC64
11all: kernel.o init_task.o pdc_cons.o process.o head64.o unaligned.o perf.o perf_asm.o
12else
13all: kernel.o init_task.o pdc_cons.o process.o head.o unaligned.o
14endif
15
16O_TARGET = kernel.o
17
18obj-y		:=
19obj-m		:=
20obj-n		:=
21obj-		:=
22
23obj-y           += cache.o pacache.o setup.o traps.o time.o irq.o \
24		pa7300lc.o syscall.o entry.o sys_parisc.o firmware.o \
25		ptrace.o hardware.o inventory.o drivers.o semaphore.o \
26		signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \
27		processor.o power.o pdc_chassis.o
28
29export-objs	:= parisc_ksyms.o superio.o keyboard.o
30
31
32obj-$(CONFIG_SMP) += smp.o irq_smp.o
33obj-$(CONFIG_PA11) += pci-dma.o
34obj-$(CONFIG_PCI) += pci.o
35obj-$(CONFIG_VT) += keyboard.o
36obj-$(CONFIG_PCI_LBA) += lba_pci.o
37# I/O SAPIC is also on IA64 platforms.
38# The two could be merged into a common source some day.
39obj-$(CONFIG_IOSAPIC) += iosapic.o
40obj-$(CONFIG_IOMMU_SBA) += sba_iommu.o
41# Only use one of them: ccio-rm-dma is for PCX-W systems *only*
42# obj-$(CONFIG_IOMMU_CCIO) += ccio-rm-dma.o
43obj-$(CONFIG_IOMMU_CCIO) += ccio-dma.o
44obj-$(CONFIG_CHASSIS_LCD_LED) += led.o
45obj-$(CONFIG_SUPERIO) += superio.o
46obj-$(CONFIG_PARISC64) += binfmt_elf32.o sys_parisc32.o \
47		ioctl32.o signal32.o
48# only supported for PCX-W/U in 64-bit mode at the moment
49obj-$(CONFIG_PARISC64) += perf.o perf_asm.o
50
51include $(TOPDIR)/Rules.make
52