]> xenbits.xensource.com Git - people/iwj/osstest.git/commitdiff
ts-xen-build: allow per-host CONFIG_EARLY_PRINTK
authorIan Campbell <ian.campbell@citrix.com>
Fri, 6 Sep 2013 13:05:42 +0000 (14:05 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 6 Sep 2013 13:05:42 +0000 (14:05 +0100)
This relies on the build and install machines being the same so in practice is
only likely to be useful for standalone use of osstest.

ts-xen-build

index 455523eb4b7915c648d0e02947739c73223e0dce..fe5acac30a1f908280162d021e48358253d783c7 100755 (executable)
@@ -52,6 +52,8 @@ sub checkout () {
 
     my $debug_build = $r{xen_build_debug} || 'y';
 
+    my $earlyprintk = get_host_property($ho, 'EarlyPrintk', undef);
+
     target_cmd_build($ho, 100, $builddir, <<END.
         cd $builddir/xen-unstable
        >.config
@@ -70,6 +72,9 @@ END
 END
                (nonempty($r{revision_seabios}) ? <<END : '').
        echo >>.config SEABIOS_UPSTREAM_TAG='$r{revision_seabios}'
+END
+               (nonempty($earlyprintk) ? <<END : '').
+       echo >>.config CONFIG_EARLY_PRINTK=$earlyprintk
 END
                (nonempty($r{tree_linux}) ? <<END : '').
        echo >>.config export $linux_url_envvar='$r{tree_linux}'