]> git.ozlabs.org Git - next-scripts/commitdiff
autogenerate an ABAT dat file
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Sep 2008 08:41:31 +0000 (18:41 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Sep 2008 08:41:31 +0000 (18:41 +1000)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
make_tree_file

index b1cc323c4712a2f4f0eadb28da915864551a99e2..1b99f205cb43474bbab1d5954dc2d08e0c9ea386 100755 (executable)
@@ -50,4 +50,18 @@ index d795256..0000000
 --next-$d
 EOF
 
+l=$(git describe --match "v*" --abbrev=0)
+l=${l#v}
+cat >../abat-script-$d <<EOF
+option title linux-next $d boot test
+class power5 type="IBM,9124-720 eServer OpenPower 720"
+class power5plus type="IBM,9110-51A System p5 510"
+class x8664 cpu_type="Intel(R) Xeon(TM) CPU 2.40GHz"
++\$kernel "$l"
++\$patch1 "http://www.kernel.org/pub/linux/kernel/people/sfr/linux-next/patch-v$l-next-$d.bz2"
++\$patch2 "http://fs.ozlabs.ibm.com/~sfr/nolocalversion-$d.patch"
+build generic stock  \$kernel -p \$patch1 -p \$patch2 -m -j\$num_cpus
+boot initcall_debug
+EOF
+
 exit 0