diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-04 22:42:34 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-04 22:42:34 +0000 |
commit | 105c3483b5e01184eceb2eb9ddd59dfd4dc5054f (patch) | |
tree | 91703f9d8b526cbcf7e7611ad843177552c4b8d4 /package/gnuconfig/testsuite/uname.in | |
parent | 1a48268a55175b4efa751c1a22fb4d977ea8b326 (diff) | |
download | buildroot-novena-105c3483b5e01184eceb2eb9ddd59dfd4dc5054f.tar.gz buildroot-novena-105c3483b5e01184eceb2eb9ddd59dfd4dc5054f.zip |
add support for fetching latest config.{sub,guess} files from config cvs
Diffstat (limited to 'package/gnuconfig/testsuite/uname.in')
-rwxr-xr-x | package/gnuconfig/testsuite/uname.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/package/gnuconfig/testsuite/uname.in b/package/gnuconfig/testsuite/uname.in new file mode 100755 index 000000000..d44d15f04 --- /dev/null +++ b/package/gnuconfig/testsuite/uname.in @@ -0,0 +1,9 @@ +#!/bin/sh +# uname(1) simulator, inspired by Pavel Roskin. + +[ $# -ne 1 ] && exec sh $0 -s +[ $1 = -m ] && echo "@MACHINE@" && exit 0 +[ $1 = -r ] && echo "@RELEASE@" && exit 0 +[ $1 = -s ] && echo "@SYSTEM@" && exit 0 +[ $1 = -v ] && echo "@VERSION@" && exit 0 +[ $1 = -p ] && echo "Pentium III(TM)-ISA/PCI" |