mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
src: mv ../buildEnvironmentVariables mkhdr
Also note that the file must be valid shell and mk input. For #321.
This commit is contained in:
parent
5aad8f3d6d
commit
77a0a5b519
3 changed files with 5 additions and 2 deletions
2
dist/buildmk
vendored
2
dist/buildmk
vendored
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# run this in the src directory
|
# run this in the src directory
|
||||||
|
. ../src/mkenv
|
||||||
export SYSNAME OBJTYPE
|
export SYSNAME OBJTYPE
|
||||||
. ../buildEnvironmentVariables
|
|
||||||
sh -x mkmk.sh
|
sh -x mkmk.sh
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# This file must be valid mk input for mkhdr
|
||||||
|
# and also valid shell input for ../dist/buildmk
|
||||||
|
|
||||||
SYSNAME=`uname`
|
SYSNAME=`uname`
|
||||||
OBJTYPE=`(uname -m -p 2>/dev/null || uname -m) | sed '
|
OBJTYPE=`(uname -m -p 2>/dev/null || uname -m) | sed '
|
||||||
s;.*i[3-6]86.*;386;;
|
s;.*i[3-6]86.*;386;;
|
|
@ -1,4 +1,4 @@
|
||||||
<$PLAN9/buildEnvironmentVariables
|
<$PLAN9/src/mkenv
|
||||||
|
|
||||||
BIN=$PLAN9/bin
|
BIN=$PLAN9/bin
|
||||||
LIBDIR=$PLAN9/lib
|
LIBDIR=$PLAN9/lib
|
||||||
|
|
Loading…
Reference in a new issue