patch-2.1.16 linux/arch/ppc/kernel/Makefile
Next file: linux/arch/ppc/kernel/head.S
Previous file: linux/arch/ppc/boot/vreset.c
Back to the patch index
Back to the overall index
- Lines: 56
- Date:
Wed Dec 18 10:49:52 1996
- Orig file:
v2.1.15/linux/arch/ppc/kernel/Makefile
- Orig date:
Mon Jul 8 11:27:42 1996
diff -u --recursive --new-file v2.1.15/linux/arch/ppc/kernel/Makefile linux/arch/ppc/kernel/Makefile
@@ -14,10 +14,8 @@
.c.o:
$(CC) $(CFLAGS) -c $<
.S.s:
-# $(CPP) $(CFLAGS) -D__ASSEMBLY__ -traditional $< -o $*.s
$(CPP) $(CFLAGS) -D__ASSEMBLY__ $< -o $*.s
.S.o:
-# $(CC) -D__ASSEMBLY__ -traditional -c $< -o $*.o
$(CPP) $(CFLAGS) -D__ASSEMBLY__ $< -o $*.s
$(AS) $(ASFLAGS) -o $*.o $*.s
rm $*.s
@@ -25,39 +23,24 @@
HOST_CC = gcc
OBJS = misc.o setup.o port_io.o irq.o pci.o traps.o stubs.o process.o \
- signal.o ksyms.o time.o syscalls.o \
- support.o ptrace.o # ramdisk_drvr.o
+ signal.o ksyms.o time.o syscalls.o usercpy.o\
+ support.o ptrace.o
-all: head.o kernel.o #no_ramdisk.o ramdisk.o
+all: head.o kernel.o
head.o: head.s
head.s: head.S $(TOPDIR)/include/linux/tasks.h ppc_defs.h
ppc_defs.h: mk_defs
-# simppc mk_defs -- $@
mk_defs $@
-#no_ramdisk.o: no_ramdisk.S
-
-#ramdisk.o: ramdisk.image mk_ramdisk
-# mk_ramdisk ramdisk.image $*.s
-# $(AS) -o $@ $*.s
-# rm $*.s
-
-#mk_ramdisk: mk_ramdisk.c
-# ${HOST_CC} -o mk_ramdisk mk_ramdisk.c
-
-mk_defs: mk_defs.c $(TOPDIR)/include/asm/mmu.h $(TOPDIR)/include/asm/processor.h $(TOPDIR)/include/asm/pgtable.h $(TOPDIR)/include/asm/ptrace.h
-# cc.ppc ${CFLAGS} -o mk_defs -T ld.script-user -Ttext 0x1000 mk_defs.c
- gcc.ppc ${CFLAGS} -o mk_defs mk_defs.c
+mk_defs: mk_defs.c
+ $(HOSTCC) $(CFLAGSINC) -Wl,-static ${CFLAGS} -o mk_defs mk_defs.c
kernel.o: $(OBJS)
$(LD) -r -o kernel.o $(OBJS)
sync
-
-#mkboot: mkboot.c
-# ${HOST_CC} -o $@ -Iinclude mkboot.c
dep:
$(CPP) -M *.c > .depend
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov