MEDIUM_SUPPORTED = netboot
MEDIUM_SUPPORTED_EXTRA = monolithic

# The version of the kernel to use.
KERNELVERSION := $(KERNELVERSION)-loongson-3
KERNELNAME = $(foreach ver,${KERNELVERSION}, vmlinuz-$(ver))

boot.cfg:
	bootvars-subst KERNELVERSION "$(KERNELVERSION)" \
		<boot/mipsel/loongson.cfg >$(SOME_DEST)/$(EXTRANAME)boot.cfg
	update-manifest $(SOME_DEST)/$(EXTRANAME)boot.cfg "PMON configuration file"
