vmx: handle build arch exclude in /sys/src/cmd/mkfile
This commit is contained in:
parent
c881e33e8e
commit
c35f95de2a
2 changed files with 2 additions and 3 deletions
|
@ -8,8 +8,8 @@ LDFLAGS=
|
|||
YFLAGS=-d
|
||||
|
||||
NOTSYS=sml|dup|.+\..+
|
||||
|
||||
NOMK=$NOTSYS
|
||||
PCONLY=vmx
|
||||
NOMK=$NOTSYS|`{~ $objtype (386 amd64) || echo $PCONLY}
|
||||
|
||||
cpuobjtype=`{sed -n 's/^O=//p' /$cputype/mkfile}
|
||||
DIRS=`{echo */mkfile | sed 's,/mkfile *,\n,g' | grep -v '^('$NOMK')$'}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
objtype=`{~ $objtype (386 amd64) && echo $objtype || echo 386}
|
||||
</$objtype/mkfile
|
||||
|
||||
BIN=/$objtype/bin
|
||||
|
|
Loading…
Reference in a new issue