shithub: riscv

Download patch

ref: 6a3b9012d551fecf4ba40d79dff8adbe54842835
parent: 9be64bcb8d76e17f8fb5f90e1b476f1ac75039b8
author: cinap_lenrek <[email protected]>
date: Sat Dec 13 00:29:51 EST 2014

kernel: generate dummy bootscreeninit() function when building without vga device

--- a/sys/src/9/port/mkdevc
+++ b/sys/src/9/port/mkdevc
@@ -166,6 +166,9 @@
 	  	for(i = 0; i < nvgacur; i++)
 			printf "\t&%scur,\n", vgacur[i];
 	  	printf "\tnil,\n};\n\n";
+	} else {
+		if(objtype ~ "(386|amd64)")
+			printf "void bootscreeninit(void)\n{\n}\n\n";
 	}
 	
 	if(nip){