diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-09 16:08:31 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-09 16:08:31 +0000 |
commit | 62e0dc2b519a8f29bfbe07efd478bc808290771b (patch) | |
tree | 52af5956008cc39b9f49abb98596b8cbd7f58efa /scripts | |
parent | 44f96d39e166394e817bc9bcb7da6c9ab278efc7 (diff) | |
download | busybox-w32-62e0dc2b519a8f29bfbe07efd478bc808290771b.tar.gz busybox-w32-62e0dc2b519a8f29bfbe07efd478bc808290771b.tar.bz2 busybox-w32-62e0dc2b519a8f29bfbe07efd478bc808290771b.zip |
update random config tester
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/randomtest | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/randomtest b/scripts/randomtest index 0450f76f0..d9d3959be 100755 --- a/scripts/randomtest +++ b/scripts/randomtest | |||
@@ -2,8 +2,12 @@ | |||
2 | 2 | ||
3 | # Select which libc to build against | 3 | # Select which libc to build against |
4 | libc="glibc" # assumed native | 4 | libc="glibc" # assumed native |
5 | # static cross-compiled (i486-linux-uclibc-XXX) | 5 | # static, cross-compilation |
6 | libc="uclibc" | 6 | libc="uclibc" |
7 | # x86 32-bit: | ||
8 | uclibc_cross="i486-linux-uclibc-" | ||
9 | # My system has strange prefix for x86 64-bit uclibc: | ||
10 | #uclibc_cross="x86_64-pc-linux-gnu-" | ||
7 | 11 | ||
8 | test -d tree || exit 1 | 12 | test -d tree || exit 1 |
9 | 13 | ||
@@ -49,7 +53,7 @@ cat .config \ | |||
49 | | grep -v CONFIG_CROSS_COMPILER_PREFIX \ | 53 | | grep -v CONFIG_CROSS_COMPILER_PREFIX \ |
50 | | cat >.config.new | 54 | | cat >.config.new |
51 | mv .config.new .config | 55 | mv .config.new .config |
52 | echo 'CONFIG_CROSS_COMPILER_PREFIX="i486-linux-uclibc-"' >>.config | 56 | echo 'CONFIG_CROSS_COMPILER_PREFIX="'"$uclibc_cross"'"' >>.config |
53 | echo 'CONFIG_STATIC=y' >>.config | 57 | echo 'CONFIG_STATIC=y' >>.config |
54 | } | 58 | } |
55 | 59 | ||