MEDIA_TYPE = netboot image
TARGET = $(TEMP_INITRD) $(TEMP_KERNEL) dove
EXTRANAME = $(MEDIUM)/
INITRD_FS = initramfs

MANIFEST-INITRD = "netboot initrd"
MANIFEST-KERNEL = "kernel image to netboot"

dove:
	mkdir -p $(SOME_DEST)/$(EXTRANAME)/dove
	mkimage -A arm -O linux -T kernel -C none -a 0x8000 -e 0x8000 -n "Debian kernel" -d $(TEMP_KERNEL) $(SOME_DEST)/$(EXTRANAME)/dove/uImage
	mkimage -A arm -O linux -T ramdisk -C gzip -a 0x02000000 -e 0x02000000 -n "debian-installer ramdisk" -d $(TEMP_INITRD) $(SOME_DEST)/$(EXTRANAME)/dove/uInitrd
	update-manifest $(SOME_DEST)/$(EXTRANAME)/dove/uImage "Linux kernel for Marvell Dove"
	update-manifest $(SOME_DEST)/$(EXTRANAME)/dove/uInitrd "initrd for Marvell Dove"

