summaryrefslogtreecommitdiffstats
path: root/package/gnuconfig/uname
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-04 22:42:34 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-04 22:42:34 +0000
commit105c3483b5e01184eceb2eb9ddd59dfd4dc5054f (patch)
tree91703f9d8b526cbcf7e7611ad843177552c4b8d4 /package/gnuconfig/uname
parent1a48268a55175b4efa751c1a22fb4d977ea8b326 (diff)
downloadbuildroot-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/uname')
-rwxr-xr-xpackage/gnuconfig/uname9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/gnuconfig/uname b/package/gnuconfig/uname
new file mode 100755
index 000000000..4d2b55d52
--- /dev/null
+++ b/package/gnuconfig/uname
@@ -0,0 +1,9 @@
+#!/bin/sh
+# uname(1) simulator, inspired by Pavel Roskin.
+
+[ $# -ne 1 ] && exec sh $0 -s
+[ $1 = -m ] && echo 4400
+[ $1 = -r ] && echo 4.0
+[ $1 = -s ] && echo iainfo2
+[ $1 = -v ] && echo 3.0
+[ $1 = -p ] && echo "Pentium III(TM)-ISA/PCI"