vmx: handle build arch exclude in /sys/src/cmd/mkfile

This commit is contained in:
cinap_lenrek 2019-05-19 17:11:57 +02:00
parent c881e33e8e
commit c35f95de2a
2 changed files with 2 additions and 3 deletions

View file

@ -8,8 +8,8 @@ LDFLAGS=
YFLAGS=-d YFLAGS=-d
NOTSYS=sml|dup|.+\..+ NOTSYS=sml|dup|.+\..+
PCONLY=vmx
NOMK=$NOTSYS NOMK=$NOTSYS|`{~ $objtype (386 amd64) || echo $PCONLY}
cpuobjtype=`{sed -n 's/^O=//p' /$cputype/mkfile} cpuobjtype=`{sed -n 's/^O=//p' /$cputype/mkfile}
DIRS=`{echo */mkfile | sed 's,/mkfile *,\n,g' | grep -v '^('$NOMK')$'} DIRS=`{echo */mkfile | sed 's,/mkfile *,\n,g' | grep -v '^('$NOMK')$'}

View file

@ -1,4 +1,3 @@
objtype=`{~ $objtype (386 amd64) && echo $objtype || echo 386}
</$objtype/mkfile </$objtype/mkfile
BIN=/$objtype/bin BIN=/$objtype/bin