2 # Makefile for the Linux/SuperH kernel.
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).
10 $(CC
) $(AFLAGS
) -traditional
-c
$< -o
$*.o
13 O_OBJS
:= process.o signal.o entry.o traps.o irq.o irq_ipr.o \
14 ptrace.o setup.o time.o sys_sh.o semaphore.o \
19 ifdef CONFIG_CF_ENABLER
20 O_OBJS
+= cf-enabler.o
23 ifdef CONFIG_SH_GENERIC
25 O_OBJS
+= mach_se.o setup_se.o setup_cqreek.o io_se.o led_se.o \
26 mach_hp600.o io_hd64461.o \
27 mach_unknown.o io_unknown.o \
33 O_OBJS
+= mach_hp600.o io_hd64461.o io_generic.o
36 ifdef CONFIG_SH_OVERDRIVE
37 O_OBJS
+= io_generic.o
40 ifdef CONFIG_SH_SOLUTION_ENGINE
41 O_OBJS
+= mach_se.o setup_se.o io_se.o io_generic.o led_se.o
44 ifdef CONFIG_SH_CQREEK
45 O_OBJS
+= setup_cqreek.o
48 ifdef CONFIG_SH_UNKNOWN
49 O_OBJS
+= mach_unknown.o io_unknown.o io_generic.o
62 ifneq ($(CONFIG_SH_GENERIC
)$(CONFIG_HD64461
),)
63 O_OBJS
+= setup_hd64461.o
66 ifdef CONFIG_SH_STANDARD_BIOS
70 all: kernel.o head.o init_task.o
78 include $(TOPDIR
)/Rules.make