patch-2.1.87 linux/arch/m68k/kernel/Makefile
Next file: linux/arch/m68k/kernel/bios32.c
Previous file: linux/arch/m68k/ifpsp060/os.S
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Thu Feb 12 16:30:12 1998
- Orig file:
v2.1.86/linux/arch/m68k/kernel/Makefile
- Orig date:
Sat Aug 16 09:51:07 1997
diff -u --recursive --new-file v2.1.86/linux/arch/m68k/kernel/Makefile linux/arch/m68k/kernel/Makefile
@@ -10,19 +10,26 @@
.S.o:
$(CC) -D__ASSEMBLY__ -traditional -c $< -o $*.o
-all: kernel.o head.o
+all: head.o kernel.o
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
-ifdef CONFIG_VT
-O_OBJS += console.o
-endif
OX_OBJS := m68k_ksyms.o
ifdef CONFIG_KGDB
O_OBJS += kgdb.o
endif
-head.o: head.S
+ifdef CONFIG_PCI
+O_OBJS += bios32.o
+endif
+
+head.o: head.S m68k_defs.h
+
+m68k_defs.h: m68k_defs.c m68k_defs.head $(TOPDIR)/include/linux/sched.h
+ $(CC) ${CFLAGS} -S m68k_defs.c
+ cp m68k_defs.head m68k_defs.h
+ sed -n < m68k_defs.s >> m68k_defs.h '/^#define/s/ #/ /p'
+ rm m68k_defs.s
include $(TOPDIR)/Rules.make
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov