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 BCM91250A (SWARM) evaluation board"
MANIFEST-KERNEL = "kernel image for the Broadcom BCM91250A (SWARM) 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/sibyl.conf | \
		bootvars-subst KERNELVERSION "$(KERNELVERSION)" > $@
	update-manifest $@ "SiByl TFTP boot configuration script"

