]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
ts-xen-build: always compile in FEP support
authorWei Liu <wei.liu2@citrix.com>
Thu, 21 Jul 2016 14:37:48 +0000 (15:37 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 9 Sep 2016 10:38:59 +0000 (11:38 +0100)
By default FEP depends on debug flag. When we are near release the debug
flag will be turned off. In order to test a release build, we explicitly
enable FEP in build configuration.

Since we target Xen versions that already have Kconfig support, only a
Kconfig option is created for now.

We can easily add config option for older Xen when necessary.

Note that this only compiles in FEP support. To enable it a user needs
to explicitly specify fep=1 in hypervisor command line.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
ts-xen-build

index cc171ef24f690d85e8883f9b9fb09a0c79c7fbfd..d0b761221fd980f8fe5de53bc42810990d71847e 100755 (executable)
@@ -97,8 +97,13 @@ END
                (nonempty($earlyprintk) ? <<END : '').
        echo >>.config CONFIG_EARLY_PRINTK=$earlyprintk
 END
-               ($ho->{Suite} =~ m/squeeze|wheezy/ ? <<END : '') #Debian #693721
+               ($ho->{Suite} =~ m/squeeze|wheezy/ ? <<END : ''). #Debian #693721
        echo >>.config PYTHON_PREFIX_ARG=
+END
+        <<END
+       if test -f xen/Kconfig; then
+               echo >>xen/.config CONFIG_HVM_FEP=y
+       fi
 END
                );
 }