From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Goldstein Subject: Re: [RFC 03/29] build: hookup initial Kconfig usage Date: Tue, 10 Nov 2015 17:00:41 -0600 Message-ID: <56427719.2040007@cardoe.com> References: <1444082620-3253-1-git-send-email-cardoe@cardoe.com> <1444082620-3253-4-git-send-email-cardoe@cardoe.com> <56139B30.1090009@citrix.com> <5613DC8802000078000A8859@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7176731743609110140==" Return-path: In-Reply-To: <5613DC8802000078000A8859@prv-mh.provo.novell.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: Jan Beulich , Andrew Cooper Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============7176731743609110140== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="D0mUqveK9tko1n8TxIATR9NGIibv9tsIc" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --D0mUqveK9tko1n8TxIATR9NGIibv9tsIc Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 10/6/15 7:36 AM, Jan Beulich wrote: >>>> On 06.10.15 at 11:58, wrote: >> On 05/10/15 23:03, Doug Goldstein wrote: >>> new file mode 100644 >>> index 0000000..e69de29 >>> diff --git a/xen/arch/x86/Kconfig b/xen/arch/x86/Kconfig >>> new file mode 100644 >>> index 0000000..5e34f4e >>> --- /dev/null >>> +++ b/xen/arch/x86/Kconfig >>> @@ -0,0 +1,28 @@ >>> +# Select 32 or 64 bit >>> +config 64BIT >>> + bool "64-bit Xen" if ARCH =3D "x86_64" >>> + default ARCH !=3D "i386" >>> + ---help--- >>> + Say yes to build a 64-bit Xen >>> + Say no to build a 32-bit Xen >>> + >>> +config X86_32 >>> + def_bool y >>> + depends on !64BIT >>> + >>> +config X86_64 >>> + def_bool y >>> + depends on 64BIT >>> + >>> +config X86 >>> + def_bool y >>> + select HAS_GDBSX >>> + >>> +config ARCH_DEFCONFIG >>> + string >>> + default "arch/x86/i386_defconfig" if X86_32 >>> + default "arch/x86/x86_64_defconfig" if X86_64 >>> + >>> +source "common/Kconfig" >>> + >>> +source "drivers/Kconfig" >> >> We dropped 32bit hypervisor builds in 4.4, and it definitely doesn't >> build any more. >> >> You don't need to provide i386_defconfig or X86_32 as far as the >> hypervisor is concerned. >=20 > Are defconfig-s that useful at all? (I ask because I extremely rarely > make us of them in Linux.) >=20 > Jan >=20 You use it more than you think. Look at linux/arch/x86/configs/x86_64_defconfig. The contents of that is used everytime you don't have an existing config or are using a previous build= 's. --=20 Doug Goldstein --D0mUqveK9tko1n8TxIATR9NGIibv9tsIc 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 iQJ8BAEBCgBmBQJWQnccXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNTM5MEQ2RTNFMTkyNzlCNzVDMzIwOTVB MkJDMDNEQzg3RUQxQkQ0AAoJEKK8A9yH7RvUWIIQAJOUPgMD8aSMKYEDj+VqwbXh v5lhrrcaE4LKO8KHXhSpNrMPdUzW72NQ1psMCwvJjRaJ98hH65FkPUEI+jnUfAPE sYIKNgzUJLL3y7yPcT6Bqnr29zjxrBakq7XADGbSvwftibBMaff6pK0tQRGVy8HO y0JuNwbOvA65Q1Gret0844Fr6Bmbct4ZgTewkf/tV2gvIyBL13PQ7Q7SzuwAf8oe 6x2zpDnLPsodbtbH5KXkdYHxBIsIfaBIom0Cxx40b4s/5dIUo+lKIYaXAny9jg80 Pu9LYnAG6jUc6+IfxpDN1sjJMMPqEVDV0t1YhrdOEAGG7VPTqroBQRgL25ppEzm4 VsQUjrzP209ChfNLhP9q67knVG6NQrLqM8zcVh/XrIVitSb99OpI4vsytmZ2KKmc AkRwqLm1Cy2/uhJj6ozmrDJmzaHVrm4/pL1++bq1AteZMxW86PCLaaVZh/7qCGvX sGLDlw7GXalaE5FUsOzfzp4ePKpt/VT+UFuCbvEe3maMJ2S8rIGcjuUO4keg/wF/ PVPu0NCj14tH/+6B0uzrYdA45ZqatcVt3K4yb+Xa8CeDilXbuY3r1W7e7zLYlgp7 IqFL1yUD0XKFo1dqV+d8Hg/6W8BcyW/UReZ0A4hW7zSGvglaNsKQf4KqudsXF+Ty eNSL9WBzBD9tu7WyBoXp =powI -----END PGP SIGNATURE----- --D0mUqveK9tko1n8TxIATR9NGIibv9tsIc-- --===============7176731743609110140== 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 --===============7176731743609110140==--