MEDIA_TYPE = netboot image

# Not really a floppy; this is for use on USB memory sticks.
FLOPPY_SIZE = 18000
GZIPPED = .gz
DISK_LABEL = "bootable drive"

TARGET = $(INITRD) $(KERNEL) $(MINIISO) builtin_initrd netboot_content $(BOOT) $(SOME_DEST)/$(EXTRANAME)yaboot $(SOME_DEST)/$(EXTRANAME)yaboot.conf $(SOME_DEST)/$(EXTRANAME)boot.msg
EXTRANAME = $(MEDIUM)/

MANIFEST-BOOT = "compressed network install image for USB memory stick"
MANIFEST-INITRD = "initrd for use with powerpc netboot"
MANIFEST-KERNEL = "kernel for use with powerpc netboot"
MANIFEST-MINIISO = "small bootable CD image for powerpc netboot"

arch_boot: hd_media_common

$(SOME_DEST)/$(EXTRANAME)yaboot: hd_media_common
	cp $(TEMP)/yaboot $@
	update-manifest $@ "Open Firmware boot loader"

$(SOME_DEST)/$(EXTRANAME)yaboot.conf: hd_media_common
	cp $(TEMP)/yaboot.conf $@
	update-manifest $@ "yaboot configuration file"

$(SOME_DEST)/$(EXTRANAME)boot.msg: hd_media_common
	cp $(TEMP)/boot.msg $@
	update-manifest $@ "yaboot boot message"
