From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Goldstein Subject: Re: Kbuild and Kconfig Date: Wed, 2 Sep 2015 15:28:03 -0500 Message-ID: <55E75BD3.5080002@cardoe.com> References: <55E736C8.3050302@cardoe.com> <55E74014.7010500@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4751028865805047865==" Return-path: In-Reply-To: <55E74014.7010500@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: Andrew Cooper , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============4751028865805047865== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="C8aILpQrGQS3emdEX7L7kegDfgMPdHkRo" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --C8aILpQrGQS3emdEX7L7kegDfgMPdHkRo Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 9/2/15 1:29 PM, Andrew Cooper wrote: > On 02/09/15 18:50, Doug Goldstein wrote: >> I just wanted to bring this to a top level post since Jonathan Creekmo= re >> and myself have talked with a few maintainers in different threads and= >> on IRC about potentially using Kconfig and/or Kbuild for Xen. Basicall= y >> I would like to get a rough idea on what the Xen community wants the >> system to look like before starting work on it to both save myself tim= e >> and save maintainers review cycles. So that being said rough proposal = as >> follows: >> >> * target only the xen/ directory tree (i.e. not the toolstack, stubdom= s >> or docs) >> * split top level config bits to not affect xen/ tree (currently only >> XSM_ENABLE / FLASK_ENABLE do) >> * convert xen/ to Kbuild first and merge this in (since Kconfig relies= >> on Kbuild-y bits which can be undone but if we're going to go to Kbuil= d >> in the end why undo it and then redo it) >> * convert existing xen/ config bits into Kconfig and merge that in >> >> Jonathan and I, in a former life, converted a project to Kbuild and >> Kconfig successfully. I have looked at starting with >> https://github.com/masahir0y/kbuild_skeleton while the tree is fairly >> old it does separate out the build bits from the Linux specific bits >> pretty nicely while removing module support which arguably is the most= >> complicated part. Alternatively we could start with Linux 4.2 if that'= s >> more desirable. >=20 > Thinking longterm, it would be nice to have xen, tools and stubdoms > covered by a system like this (I cant immediately see how any of this > would be usefully applied to docs/). >=20 > Therefore, so long as the eventual plan doesn't preclude this (and it > doesn't appear to), I have no specific concerns with this proposal. >=20 > I will defer to your judgement as to which is the correct path to take > to end up with a Kconfig system, as you clearly have more experience > than I have in this area. If that means doing both Kconfig and Kbuild > at the same time as it is less net work, then fine. (I will certainly > be happier with a more Kbuild-like system where I can sensibly do > out-of-tree builds). >=20 > ~Andrew >=20 Long term, yes we can tackle tools and stubdoms as well but initially I was trying to eat the elephant one bite at a time. My idea was that we would do xen/ first and you would have to go into that directory and run "make defconfig/menuconfig/config/etc && make" inside that directory. Once the other directories got converted we could move the setup to the top level and include xen/, tools/, stubdom/. It should be mostly a mechanical move. --=20 Doug Goldstein --C8aILpQrGQS3emdEX7L7kegDfgMPdHkRo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0 iQJ8BAEBCgBmBQJV51vWXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNTM5MEQ2RTNFMTkyNzlCNzVDMzIwOTVB MkJDMDNEQzg3RUQxQkQ0AAoJEKK8A9yH7RvUWAkP/iPV1RK3Tcctg3Y/Mc4XwtOV e/ZHzkAoIkCdwb+xfk87ch3A+xLiAEDI49rg+j5VKOv0+sZCBN9J5bqqbYqpwMhR JbsxcBArYJmmUY7ZytsHcSi68C/QcwDLCwU8+NDlnOEb64jmJebbkIBtudLDvISi E8W0n9DjJ18oa8lC/caV5vQR+IqkNBZHmgUBIXEuB2eeHQLyv6YOcFKXVXSm+lCX sM5qO4q/FXdUbUWO+Ya4pRoq0dJFf2fbKeKA90AL6oQn8YgFHfbXqIrtQ9NFoQZU AYQv9i+9SnjQAWHNxw/SD7huPp45FFIb7RucmBOq043Akw/qrsorzTikBWj5Hcyp EbmEIWnyiA70R142YU86UqaMMxgxhSY6Swz8sgU1656foU7qiALZZvFGlBNlg19R Prkir6Z28d18RlK/rncyFN9gGLpXZuZ5lOnwTsKOpz+88sb4wtUAjT4k7SlTf12I 6C50pxUv1IBm8nFG27SS6px/lVF3FUlCglyOD7Cw2d9SPVx82k0jJxAl6OnlCjIF FasSt5Z5RTIeyGEYWcGqdlD2Wkgnu0dyK1XqNEcSWn37h/l6JP+yv2R+a9HW7c6J 3O38IiKV5vkRALWxf2TVFusNRUJuKoB/SWhlg4/3FnG8v7yuzPHCBKnMNJh6OzYx MXEvIgWnTZw5BwSbb2Lj =+GcP -----END PGP SIGNATURE----- --C8aILpQrGQS3emdEX7L7kegDfgMPdHkRo-- --===============4751028865805047865== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============4751028865805047865==--