svn commit: trunk/busybox/scripts
vda at busybox.net
vda at busybox.net
Sun Nov 9 16:08:31 UTC 2008
Author: vda
Date: 2008-11-09 08:08:31 -0800 (Sun, 09 Nov 2008)
New Revision: 23975
Log:
update random config tester
Modified:
trunk/busybox/scripts/randomtest
Changeset:
Modified: trunk/busybox/scripts/randomtest
===================================================================
--- trunk/busybox/scripts/randomtest 2008-11-09 13:13:05 UTC (rev 23974)
+++ trunk/busybox/scripts/randomtest 2008-11-09 16:08:31 UTC (rev 23975)
@@ -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 @@
| 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
}
More information about the busybox-cvs
mailing list