diff options
Diffstat (limited to 'arch/m68k/kernel/Makefile')
-rw-r--r-- | arch/m68k/kernel/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/arch/m68k/kernel/Makefile b/arch/m68k/kernel/Makefile index 280a5b450..146fcb69b 100644 --- a/arch/m68k/kernel/Makefile +++ b/arch/m68k/kernel/Makefile @@ -10,11 +10,16 @@ .S.o: $(CC) -D__ASSEMBLY__ -traditional -c $< -o $*.o +ifndef CONFIG_SUN3 all: head.o kernel.o +else +all: sun3-head.o kernel.o +endif + O_TARGET := kernel.o O_OBJS := entry.o process.o traps.o ints.o signal.o ptrace.o \ - setup.o sys_m68k.o time.o -OX_OBJS := m68k_ksyms.o + sys_m68k.o time.o semaphore.o +OX_OBJS := setup.o m68k_ksyms.o ifdef CONFIG_KGDB O_OBJS += kgdb.o @@ -26,6 +31,8 @@ endif head.o: head.S m68k_defs.h +sun3-head.o: sun3-head.S m68k_defs.h + m68k_defs.h: m68k_defs.c m68k_defs.head rm -f m68k_defs.d SUNPRO_DEPENDENCIES="m68k_defs.d m68k_defs.h" \ |