patch-1.3.75 linux/arch/alpha/boot/Makefile
Next file: linux/arch/alpha/boot/head.S
Previous file: linux/arch/alpha/Makefile
Back to the patch index
Back to the overall index
- Lines: 37
- Date:
Sat Mar 16 13:52:12 1996
- Orig file:
v1.3.74/linux/arch/alpha/boot/Makefile
- Orig date:
Thu Nov 9 11:23:46 1995
diff -u --recursive --new-file v1.3.74/linux/arch/alpha/boot/Makefile linux/arch/alpha/boot/Makefile
@@ -34,6 +34,17 @@
( cat tools/lxboot tools/bootlx vmlinux.nh ) > /dev/rz0a
disklabel -rw rz0 'linux' tools/lxboot tools/bootlx
+bootimage: tools/mkbb tools/lxboot tools/bootlx vmlinux.nh
+ ( cat tools/lxboot tools/bootlx vmlinux.nh ) > bootimage
+ tools/mkbb bootimage tools/lxboot
+
+srmboot: bootdevice bootimage
+ dd if=bootimage of=$(BOOTDEV) bs=512 seek=1 skip=1
+ tools/mkbb $(BOOTDEV) tools/lxboot
+
+bootdevice:
+ @test "$(BOOTDEV)" != "" || (echo You must specify BOOTDEV ; exit -1)
+
vmlinux.gz: vmlinux
gzip -fv vmlinux
@@ -56,6 +67,9 @@
tools/build: tools/build.c
$(HOSTCC) tools/build.c -o tools/build
+tools/mkbb: tools/mkbb.c
+ $(HOSTCC) tools/mkbb.c -o tools/mkbb
+
bootloader: $(OBJECTS)
$(LD) $(LINKFLAGS) \
$(OBJECTS) \
@@ -64,6 +78,7 @@
(rm -f bootloader && exit 1)
clean:
- rm -f $(TARGETS) bootloader tools/build
+ rm -f $(TARGETS) bootloader bootimage vmlinux.nh tools/build \
+ tools/mkbb tools/bootlx tools/lxboot
dep:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this