From: Ian Jackson Subject: Re: [OSSTEST PATCH] support XSM/FLASK via Kconfig Date: Tue, 5 Jan 2016 15:34:22 +0000 Message-ID: <22155.57982.759184.286154@mariner.uk.xensource.com> References: <1450810834-14886-1-git-send-email-cardoe@cardoe.com> <1451911648.13361.68.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1451911648.13361.68.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Doug Goldstein , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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). > > =A0=A0=A0=A0=A0buildcmd_stamped_logged(9000, 'build', '',< > +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0$make_prefix make -C xen olddefcon= fig 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, b= ut > 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.