MEDIA_TYPE = netboot image

KERNELVERSION = $(KERNELVERSION_2.6)
KERNELMAJOR = 2.6

TARGET = $(INITRD) $(KERNEL) $(SOME_DEST)/$(EXTRANAME)sibyl $(SOME_DEST)/$(EXTRANAME)sibyl.conf
TYPE = netboot
EXTRANAME = $(TYPE)/

MANIFEST-INITRD = "initrd for the Broadcom BCM91480B (BigSur) evaluation board"
MANIFEST-KERNEL = "kernel image for the Broadcom BCM91480B (BigSur) evaluation board"

$(SOME_DEST)/$(EXTRANAME)sibyl:
	cp /usr/lib/sibyl/sibyl.bin $@
	update-manifest $@ "SiByl boot loader"

$(SOME_DEST)/$(EXTRANAME)sibyl.conf:
	ramdisk-size-subst $(TEMP_INITRD) < boot/mips/sb1a-bcm91480b.conf-2.6 | \
		bootvars-subst KERNELVERSION "$(KERNELVERSION)" > $@
	update-manifest $@ "SiByl TFTP boot configuration script"

