summaryrefslogtreecommitdiff
path: root/scripts/randomtest
diff options
context:
space:
mode:
authorDenis Vlasenko2008-11-09 16:08:31 +0000
committerDenis Vlasenko2008-11-09 16:08:31 +0000
commit62e0dc2b519a8f29bfbe07efd478bc808290771b (patch)
tree52af5956008cc39b9f49abb98596b8cbd7f58efa /scripts/randomtest
parent44f96d39e166394e817bc9bcb7da6c9ab278efc7 (diff)
downloadbusybox-62e0dc2b519a8f29bfbe07efd478bc808290771b.zip
busybox-62e0dc2b519a8f29bfbe07efd478bc808290771b.tar.gz
update random config tester
Diffstat (limited to 'scripts/randomtest')
-rwxr-xr-xscripts/randomtest8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/randomtest b/scripts/randomtest
index 0450f76..d9d3959 100755
--- a/scripts/randomtest
+++ b/scripts/randomtest
@@ -2,8 +2,12 @@
# Select which libc to build against
libc="glibc" # assumed native
-# static cross-compiled (i486-linux-uclibc-XXX)
+# static, cross-compilation
libc="uclibc"
+# x86 32-bit:
+uclibc_cross="i486-linux-uclibc-"
+# My system has strange prefix for x86 64-bit uclibc:
+#uclibc_cross="x86_64-pc-linux-gnu-"
test -d tree || exit 1
@@ -49,7 +53,7 @@ cat .config \
| grep -v CONFIG_CROSS_COMPILER_PREFIX \
| cat >.config.new
mv .config.new .config
-echo 'CONFIG_CROSS_COMPILER_PREFIX="i486-linux-uclibc-"' >>.config
+echo 'CONFIG_CROSS_COMPILER_PREFIX="'"$uclibc_cross"'"' >>.config
echo 'CONFIG_STATIC=y' >>.config
}