From: Ian Campbell <ian.campbell@citrix.com>
To: Doug Goldstein <cardoe@cardoe.com>, xen-devel@lists.xen.org
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Subject: Re: [OSSTEST PATCH] support XSM/FLASK via Kconfig
Date: Mon, 4 Jan 2016 12:47:28 +0000 [thread overview]
Message-ID: <1451911648.13361.68.camel@citrix.com> (raw)
In-Reply-To: <1450810834-14886-1-git-send-email-cardoe@cardoe.com>
On Tue, 2015-12-22 at 13:00 -0600, Doug Goldstein wrote:
> 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@cardoe.com>
> ---
> I have not tested this because I'm honestly not sure and I'm not sure if
> this is correct. I'm just trying to write something to prevent a failure
> once XSM/FLASK gets changed to Kconfig and education for myself on how
> to do these patches in the future.
The general shape looks plausible, but it needs to continue working even
with Xen 4.6 and older.
Not sure how best to achieve that, perhaps checking for the existence of
some well known piece of the Kconfig infrastructure and behaving
accordingly?
Another alternative would be to add a runvar (see osstest.git/README for
the terminology) which controls whether Kconfig is to be used expected, but
given that this is static and per branch I'm not sure there is too much
point in this case (and it would be more complex for a newcomer).
Ian J probably has an opinion.
> ---
> ts-xen-build | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/ts-xen-build b/ts-xen-build
> index 80b1faa..6616ed3 100755
> --- a/ts-xen-build
> +++ b/ts-xen-build
> @@ -55,6 +55,8 @@ sub checkout () {
> echo >>.config KERNELS=''
> END
> (nonempty($r{enable_xsm}) ? <<END : '').
> + echo >>xen/.config CONFIG_XSM='${build_xsm}'
> + echo >>xen/.config CONFIG_FLASK='${build_xsm}'
> echo >>.config XSM_ENABLE='${build_xsm}'
> END
> (nonempty($r{tree_qemu}) ? <<END : '').
> @@ -126,6 +128,7 @@ END
> END
> #/;
> buildcmd_stamped_logged(9000, 'build', '',<<END,'');
> + $make_prefix make -C xen olddefconfig
> $make_prefix make $makeflags @ARGV
> END
>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-01-04 12:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-22 19:00 [OSSTEST PATCH] support XSM/FLASK via Kconfig Doug Goldstein
2016-01-04 12:47 ` Ian Campbell [this message]
2016-01-05 15:34 ` Ian Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1451911648.13361.68.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=cardoe@cardoe.com \
--cc=ian.jackson@eu.citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.