diff mbox

[OSSTEST,v2,3/4] ts-xen-build: Enable CONFIG_EXPERT

Message ID 1478617787-20713-3-git-send-email-ian.jackson@eu.citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ian Jackson Nov. 8, 2016, 3:09 p.m. UTC
This requires an environment variable set in the build environment,
too.  (There is an argument amongst hypervisor maintainers about
whether this requirement in xen.git is a good idea; but, nevertheless,
it is currently there in several existing trees, so we need to set
it.)

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Andrew Cooper <andrew.cooper3@citrix.com>
---
 ts-xen-build | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox

Patch

diff --git a/ts-xen-build b/ts-xen-build
index 3e53d74..80f6492 100755
--- a/ts-xen-build
+++ b/ts-xen-build
@@ -43,6 +43,10 @@  builddirsprops();
 
 my $enable_xsm = ($r{enable_xsm}//'false') =~ m/true/ ? 1 : 0;
 
+$buildcmd_global_prefix= <<END;
+    export XEN_CONFIG_EXPERT=y
+END
+
 sub config_tree ($$$) {
     my ($which, $configurlvar, $configtagvar) = @_;
 
@@ -103,6 +107,7 @@  END
 END
         <<END
 	if test -f xen/Kconfig; then
+		echo >>xen/.config CONFIG_EXPERT=y
 		echo >>xen/.config CONFIG_HVM_FEP=y
 	fi
 END