patch-2.0.4 linux/arch/ppc/boot/Makefile
Next file: linux/arch/ppc/boot/compressed/Makefile
Previous file: linux/arch/ppc/Makefile
Back to the patch index
Back to the overall index
- Lines: 67
- Date:
Mon Jul 8 11:27:42 1996
- Orig file:
v2.0.3/linux/arch/ppc/boot/Makefile
- Orig date:
Tue May 28 08:09:54 1996
diff -u --recursive --new-file v2.0.3/linux/arch/ppc/boot/Makefile linux/arch/ppc/boot/Makefile
@@ -22,50 +22,28 @@
OBJECTS = head.o main.o
-all: linux.boot
+all: linux.boot mkboot
-#zImage: $(CONFIGURE) bootsect setup compressed/vmlinux tools/build
-zImage: compressed/vmlinux mk_type41
- mkboot compressed/vmlinux vmlinux 0
- mk_type41 vmlinux zImage
- cp compressed/vmlinux zBoot
- rm -f vmlinux compressed/vmlinux
+linux.boot: $(TOPDIR)/vmlinux mkboot
+ rsh charon /bin/rm -f /usr/tftpboot/vmlinux
+ /bin/rm -f /usr/tftpboot/vmlinux
+ ./mkboot $(TOPDIR)/vmlinux /usr/tftpboot/vmlinux
+ rcp /usr/tftpboot/vmlinux charon:/usr/tftpboot/vmlinux
+ sync
-zdisk: zImage
- dd if=zImage of=/dev/fd0 bs=36b
-
-compressed/vmlinux: $(TOPDIR)/vmlinux
- @$(MAKE) -C compressed vmlinux
-
-tImage: mk_type41 $(TOPDIR)/vmlinux
- mkboot $(TOPDIR)/vmlinux vmlinux 0
+tImage: mk_type41 $(TOPDIR)/vmlinux mkboot
+ ./mkboot $(TOPDIR)/vmlinux vmlinux
mk_type41 vmlinux tImage
- rm -f vmlinux
+ rm vmlinux
-bImage: mk_type41 $(TOPDIR)/vmlinux.no_ramdisk
- mkboot $(TOPDIR)/vmlinux.no_ramdisk vmlinux 0
- mk_type41 vmlinux bImage
- rm -f vmlinux
-
-xImage: compressed/vmlinux.no_ramdisk
- mkboot compressed/vmlinux.no_ramdisk vmlinux 0
- mk_type41 vmlinux xImage
- rm -f vmlinux compressed/vmlinux.no_ramdisk
-
-compressed/vmlinux.no_ramdisk: $(TOPDIR)/vmlinux.no_ramdisk
- @$(MAKE) -C compressed vmlinux.no_ramdisk
-
-bdisk: xImage
- dd if=xImage of=/dev/fd0 bs=36b
-
-linux.boot: $(TOPDIR)/vmlinux
- mkboot $(TOPDIR)/vmlinux $@ 0
+mkboot : cortstrip.c
+ $(HOSTCC) -o mkboot cortstrip.c
mk_type41: mk_type41.c
- cc -o mk_type41 mk_type41.c
-
+ gcc -o mk_type41 mk_type41.c
+
clean:
- rm -f linux.boot
+ rsh charon /bin/rm -f /usr/tftpboot/vmlinux
+ /bin/rm -f /usr/tftpboot/vmlinux
dep:
-fastdep:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov