diff options
author | Russ Cox <rsc@swtch.com> | 2020-01-09 20:08:10 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2020-01-09 20:08:10 -0500 |
commit | 77a0a5b5194d4441c86de097f2aae297cb75e2c2 (patch) | |
tree | dff7cb4628f2c5f7da665a7608647001302918e8 | |
parent | 5aad8f3d6d24ee109ea23514862fa579191cb5e4 (diff) | |
download | plan9port-77a0a5b5194d4441c86de097f2aae297cb75e2c2.tar.gz plan9port-77a0a5b5194d4441c86de097f2aae297cb75e2c2.tar.bz2 plan9port-77a0a5b5194d4441c86de097f2aae297cb75e2c2.zip |
src: mv ../buildEnvironmentVariables mkhdr
Also note that the file must be valid shell and mk input.
For #321.
-rwxr-xr-x | dist/buildmk | 2 | ||||
-rw-r--r-- | src/mkenv (renamed from buildEnvironmentVariables) | 3 | ||||
-rw-r--r-- | src/mkhdr | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/dist/buildmk b/dist/buildmk index 6be4ba50..c559570c 100755 --- a/dist/buildmk +++ b/dist/buildmk @@ -1,6 +1,6 @@ #!/bin/sh # run this in the src directory +. ../src/mkenv export SYSNAME OBJTYPE -. ../buildEnvironmentVariables sh -x mkmk.sh diff --git a/buildEnvironmentVariables b/src/mkenv index f6de1e35..6ff746e0 100644 --- a/buildEnvironmentVariables +++ b/src/mkenv @@ -1,3 +1,6 @@ +# This file must be valid mk input for mkhdr +# and also valid shell input for ../dist/buildmk + SYSNAME=`uname` OBJTYPE=`(uname -m -p 2>/dev/null || uname -m) | sed ' s;.*i[3-6]86.*;386;; @@ -1,4 +1,4 @@ -<$PLAN9/buildEnvironmentVariables +<$PLAN9/src/mkenv BIN=$PLAN9/bin LIBDIR=$PLAN9/lib |