diff options
author | rsc <devnull@localhost> | 2005-01-17 21:30:05 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-01-17 21:30:05 +0000 |
commit | 7a2c88509bea849196ed4b77cf10512c4ff40cce (patch) | |
tree | 99f5c61c58ae8193173941e107c2f93351795702 /src/libthread/sysofiles.sh | |
parent | 38c10d1abcab399ce3735ccf54672a5b6787165e (diff) | |
download | plan9port-7a2c88509bea849196ed4b77cf10512c4ff40cce.tar.gz plan9port-7a2c88509bea849196ed4b77cf10512c4ff40cce.tar.bz2 plan9port-7a2c88509bea849196ed4b77cf10512c4ff40cce.zip |
allow config to override kernel version
Diffstat (limited to 'src/libthread/sysofiles.sh')
-rw-r--r-- | src/libthread/sysofiles.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libthread/sysofiles.sh b/src/libthread/sysofiles.sh index 802faf76..a7af0f5b 100644 --- a/src/libthread/sysofiles.sh +++ b/src/libthread/sysofiles.sh @@ -1,6 +1,8 @@ #!/bin/sh -tag="$OBJTYPE-$SYSNAME-`uname -r`-${CC9:-cc}" +test -f $PLAN9/config && . $PLAN9/config + +tag="$OBJTYPE-$SYSNAME-${SYSVERSION:-`uname -r`}-${CC9:-cc}" case "$tag" in *-Linux-2.6.*) echo pthread.o |