patch-2.1.79 linux/arch/ppc/kernel/Makefile
Next file: linux/arch/ppc/kernel/checks.c
Previous file: linux/arch/ppc/ignore
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Mon Jan 12 15:18:13 1998
- Orig file:
v2.1.78/linux/arch/ppc/kernel/Makefile
- Orig date:
Thu Sep 4 17:07:29 1997
diff -u --recursive --new-file v2.1.78/linux/arch/ppc/kernel/Makefile linux/arch/ppc/kernel/Makefile
@@ -8,7 +8,7 @@
# Note 2! The CFLAGS definitions are now in the main makefile...
.S.o:
- $(CC) -D__ASSEMBLY__ -c $< -o $*.o
+ $(CC) $(CFLAGS) -D__ASSEMBLY__ -c $< -o $*.o
O_TARGET := kernel.o
O_OBJS := misc.o traps.o process.o signal.o syscalls.o \
@@ -19,6 +19,10 @@
residual.o prom.o
OX_OBJS := ppc_ksyms.o
+ifdef SMP
+O_OBJS += smp.o
+endif
+
all: head.o kernel.o
head.o: head.S $(TOPDIR)/include/linux/tasks.h ppc_defs.h
@@ -33,8 +37,11 @@
grep '^#define' mk_defs.s >>ppc_defs.h
rm mk_defs.s
+find_name : find_name.c
+ $(HOSTCC) -DKERNELBASE=$(KERNELBASE) -o find_name find_name.c
+
checks: checks.c
- $(HOSTCC) -fno-builtin -I$(TOPDIR)/include -D__KERNEL__ -o checks checks.c
+ $(HOSTCC) -DKERNELBASE=$(KERNELBASE) -fno-builtin -I$(TOPDIR)/include -D__KERNEL__ -o checks checks.c
./checks
include $(TOPDIR)/Rules.make
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov