* automatically handle oldconfig

This commit is contained in:
Jeff Carr 2011-10-31 13:33:50 -04:00
parent 35cf4ecba7
commit 18f8eff415
2 changed files with 6 additions and 6 deletions

View File

@ -30,7 +30,7 @@ exit if $ARGV[0] eq "--prep";
if ($ARGV[0] eq "--bigconfig") { if ($ARGV[0] eq "--bigconfig") {
my_system("rm .config*"); my_system("rm .config*");
my_system("cp /root/benchmarks/kernel/config-3.0.8 .config"); my_system("cp /root/benchmarks/kernel/config-3.0.8 .config");
my_system("make oldconfig"); my_system("yes \"\" |make oldconfig");
} else { } else {
my_system("make defconfig"); my_system("make defconfig");
} }

View File

@ -1,7 +1,7 @@
#!/bin/bash -x #!/bin/bash -x
date -u date -u
cd /root/benchmarks/kernel/ cd /root/
hosts="try1 try2 try3 try4 try5" hosts="try1 try2 try3 try4 try5"
for host in ${hosts}; do for host in ${hosts}; do
@ -9,22 +9,22 @@ for host in ${hosts}; do
date -u date -u
sync sync
./build.pl /root/benchmarks/kernel/build.pl
date -u date -u
sync sync
date -u date -u
./build.pl --mrproper /root/benchmarks/kernel/build.pl --mrproper
date -u date -u
sync sync
date -u date -u
./build.pl --bigconfig /root/benchmarks/kernel/build.pl --bigconfig
date -u date -u
sync sync
date -u date -u
./build.pl --clean /root/benchmarks/kernel/build.pl --clean
date -u date -u
sync sync
echo end {host} echo end {host}