shithub: riscv

Download patch

ref: c67a1784cc34ffec633b61ad3267e13d162be219
parent: 98875e620770c0ae27a7651bf1a6f627b38fc0a0
author: Jacob Moody <moody@posixcafe.org>
date: Fri Oct 28 23:46:41 EDT 2022

/sys/src/cmd/mkfile: append to $NOMK so user can provide their own

ie NOMK=(gs games) @{ cd /sys/src && mk install }

--- a/sys/src/cmd/mkfile
+++ b/sys/src/cmd/mkfile
@@ -10,7 +10,7 @@
 
 PCONLY=vmx
 POWERLESS=dtracy  # until someone fixes the build for power
-NOMK=`{~ $objtype (386 amd64) || echo $PCONLY} `{~ $objtype power && echo $POWERLESS}
+NOMK=$NOMK `{~ $objtype (386 amd64) || echo $PCONLY} `{~ $objtype power && echo $POWERLESS}
 DIRS=`{echo */mkfile | sed 's,/mkfile *,\n,g' | grep -v '-e^'^('' $NOMK)^'$'}
 
 usage:VQ: