summaryrefslogtreecommitdiff
path: root/sys/src
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-12-13 05:29:51 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-12-13 05:29:51 +0100
commit6a3b9012d551fecf4ba40d79dff8adbe54842835 (patch)
treef2dae98974261169212334ec124afccff7811d0b /sys/src
parent9be64bcb8d76e17f8fb5f90e1b476f1ac75039b8 (diff)
kernel: generate dummy bootscreeninit() function when building without vga device
Diffstat (limited to 'sys/src')
-rwxr-xr-xsys/src/9/port/mkdevc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/src/9/port/mkdevc b/sys/src/9/port/mkdevc
index 642ff1060..004bc4f41 100755
--- a/sys/src/9/port/mkdevc
+++ b/sys/src/9/port/mkdevc
@@ -166,6 +166,9 @@ END{
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){