From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [RFC 03/29] build: hookup initial Kconfig usage Date: Tue, 6 Oct 2015 10:58:08 +0100 Message-ID: <56139B30.1090009@citrix.com> References: <1444082620-3253-1-git-send-email-cardoe@cardoe.com> <1444082620-3253-4-git-send-email-cardoe@cardoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1444082620-3253-4-git-send-email-cardoe@cardoe.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: Doug Goldstein , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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 = "x86_64" > + default ARCH != "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. ~Andrew