xref: /linux/arch/sparc/kernel/Makefile (revision f0e98c387e61de00646be31fab4c2fa0224e1efb)
1*f0e98c38SDavid S. Miller#
21da177e4SLinus Torvalds# Makefile for the linux kernel.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsextra-y		:= head.o init_task.o vmlinux.lds
61da177e4SLinus Torvalds
71da177e4SLinus TorvaldsEXTRA_AFLAGS	:= -ansi
81da177e4SLinus Torvalds
91da177e4SLinus TorvaldsIRQ_OBJS := irq.o sun4m_irq.o sun4c_irq.o sun4d_irq.o
101da177e4SLinus Torvaldsobj-y    := entry.o wof.o wuf.o etrap.o rtrap.o traps.o $(IRQ_OBJS) \
111da177e4SLinus Torvalds	    process.o signal.o ioport.o setup.o idprom.o \
121da177e4SLinus Torvalds	    sys_sparc.o sunos_asm.o systbls.o \
131da177e4SLinus Torvalds	    time.o windows.o cpu.o devices.o sclow.o \
141da177e4SLinus Torvalds	    tadpole.o tick14.o ptrace.o sys_solaris.o \
15*f0e98c38SDavid S. Miller	    unaligned.o una_asm.o muldiv.o semaphore.o \
16*f0e98c38SDavid S. Miller	    prom.o of_device.o devres.o
175ea81769SAl Viro
185ea81769SAl Virodevres-y = ../../../kernel/irq/devres.o
191da177e4SLinus Torvalds
201da177e4SLinus Torvaldsobj-$(CONFIG_PCI) += pcic.o
211da177e4SLinus Torvaldsobj-$(CONFIG_SUN4) += sun4setup.o
221da177e4SLinus Torvaldsobj-$(CONFIG_SMP) += trampoline.o smp.o sun4m_smp.o sun4d_smp.o
231da177e4SLinus Torvaldsobj-$(CONFIG_SUN_AUXIO) += auxio.o
241da177e4SLinus Torvaldsobj-$(CONFIG_PCI) += ebus.o
251da177e4SLinus Torvaldsobj-$(CONFIG_SUN_PM) += apc.o pmc.o
261da177e4SLinus Torvaldsobj-$(CONFIG_MODULES) += module.o sparc_ksyms.o
27ee1858d3SLars Kotthoffobj-$(CONFIG_SPARC_LED) += led.o
281da177e4SLinus Torvalds
291da177e4SLinus Torvaldsifdef CONFIG_SUNOS_EMUL
301da177e4SLinus Torvaldsobj-y += sys_sunos.o sunos_ioctl.o
311da177e4SLinus Torvaldsendif
32