2 # This file is subject to the terms and conditions of the GNU General Public
3 # License. See the file "COPYING" in the main directory of this archive
6 # Copyright (C) 2000, 2001 Paolo Alberelli
8 # Makefile for the Linux SH-5 kernel.
10 # Note! Dependencies are done automagically by 'make dep', which also
11 # removes any old dependencies. DON'T put your own dependencies here
12 # unless it's something special (ie not a .c file).
16 $(CC) $(CFLAGS) $(AFLAGS) -c $< -o $*.o
20 obj-y := process.o signal.o entry.o traps.o irq.o irq_intc.o \
21 ptrace.o setup.o time.o sys_sh64.o semaphore.o sh_ksyms.o
23 obj-$(CONFIG_HEARTBEAT) += led.o
24 obj-$(CONFIG_PCI) += pci-dma.o pcibios.o
26 ifeq ($(CONFIG_PCI),y)
27 obj-$(CONFIG_CPU_SH5) += pci_sh5.o
30 obj-$(CONFIG_SH_DMA) += dma.o
32 export-objs := sh_ksyms.o dma.o
34 ifndef CONFIG_NOFPU_SUPPORT
38 all: $(O_TARGET) head.o init_task.o
40 include $(TOPDIR)/Rules.make