[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH v3] support XSM/FLASK via Kconfig



In antcipation of XSM and FLASK migrating to Kconfig add support for
building them via Kconfig or the existing mechanism.

Signed-off-by: Doug Goldstein <cardoe@xxxxxxxxxx>
---
Still untested but visually looks correct.

Changes since v3:
- Wrap all hunks of code with checks for Kconfig to not dirty the tree

Changes since v2:
- Support Xen versions prior to Kconfig being integrated
---
 ts-xen-build | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/ts-xen-build b/ts-xen-build
index 80b1faa..bc4e41a 100755
--- a/ts-xen-build
+++ b/ts-xen-build
@@ -55,6 +55,10 @@ sub checkout () {
        echo >>.config KERNELS=''
 END
                (nonempty($r{enable_xsm}) ? <<END : '').
+       if test -f xen/Kconfig; then
+               echo >>xen/.config CONFIG_XSM='${build_xsm}'
+               echo >>xen/.config CONFIG_FLASK='${build_xsm}'
+       fi
        echo >>.config XSM_ENABLE='${build_xsm}'
 END
                (nonempty($r{tree_qemu}) ? <<END : '').
@@ -126,6 +130,9 @@ END
 END
 #/;
     buildcmd_stamped_logged(9000, 'build', '',<<END,'');
+            if test -f xen/Kconfig; then
+                $make_prefix make -C xen olddefconfig
+            fi
             $make_prefix make $makeflags @ARGV
 END
 
-- 
2.4.10


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.