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

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



Ian Campbell writes ("Re: [OSSTEST PATCH] support XSM/FLASK via Kconfig"):
> 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.
...
> The general shape looks plausible, but it needs to continue working even
> with Xen 4.6 and older.

Indeed.

> Not sure how best to achieve that, perhaps checking for the existence of
> some well known piece of the Kconfig infrastructure and behaving
> accordingly?

Yes.  This shouldn't be too hard and can probably be done entirely on
the target (rather than expliictly testing in osstest and adjusting
the rune).

> >      buildcmd_stamped_logged(9000, 'build', '',<<END,'');
> > +            $make_prefix make -C xen olddefconfig

Ie,

   if something; then
       $make_prefix make -C xen olddefconfig
   fi

> 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).

I would definitely prefer not to do that.

Ian.

_______________________________________________
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®.