patch-2.0.4 linux/arch/ppc/kernel/Makefile

Next file: linux/arch/ppc/kernel/cortstrip.c
Previous file: linux/arch/ppc/boot/cortstrip.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.3/linux/arch/ppc/kernel/Makefile linux/arch/ppc/kernel/Makefile
@@ -25,10 +25,10 @@
 HOST_CC = gcc
 
 OBJS  = misc.o setup.o port_io.o irq.o pci.o traps.o stubs.o process.o \
-	signal.o raw_printf.o ksyms.o time.o ramdisk_drvr.o syscalls.o \
-	support.o ptrace.o
+	signal.o ksyms.o time.o syscalls.o \
+	support.o ptrace.o # ramdisk_drvr.o
 
-all: head.o kernel.o no_ramdisk.o ramdisk.o
+all: head.o kernel.o #no_ramdisk.o ramdisk.o
 
 head.o: head.s
 head.s: head.S $(TOPDIR)/include/linux/tasks.h ppc_defs.h
@@ -37,31 +37,31 @@
 #	simppc mk_defs -- $@
 	mk_defs $@
 
-no_ramdisk.o: no_ramdisk.S
+#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	
 
-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
-	cc.ppc ${CFLAGS} -o mk_defs mk_defs.c
+	gcc.ppc ${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
+#mkboot: mkboot.c
+#	${HOST_CC} -o $@ -Iinclude mkboot.c
 
 dep:
 	$(CPP) -M *.c > .depend
-	
+
 fastdep:
 
 modules:

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov