login
Header Space

 
 

Re: 32bit builds on x86-64 host.

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dave Jones <davej@...>, Linux Kernel <linux-kernel@...>, Sam Ravnborg <sam@...>
Date: Monday, October 29, 2007 - 8:06 pm

On Mon, Oct 29, 2007 at 07:32:31PM -0400, Dave Jones wrote:

Same.  Top-level makefile kludges around that:

SRCARCH         := $(ARCH)

# for i386 and x86_64 we use SRCARCH equal to x86
SRCARCH := $(if $(filter x86_64 i386,$(SRCARCH)),x86,$(SRCARCH))

and then plays with both ARCH and SRCARCH.  Note
# If a arch/$(SRCARCH)/Kconfig.$(ARCH) file exist use it
ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/Kconfig.$(ARCH)),)
        Kconfig := arch/$(SRCARCH)/Kconfig.$(ARCH)
else
        Kconfig := arch/$(SRCARCH)/Kconfig
endif

in scripts/kconfig/Makefile, BTW - now we use arch/x86/Kconfig.i386 and
arch/x86/Kconfig.x86_64 as starting points for ARCH=i386 and ARCH=x86_64
resp.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
32bit builds on x86-64 host., Dave Jones, (Mon Oct 29, 7:32 pm)
Re: 32bit builds on x86-64 host., H. Peter Anvin, (Mon Oct 29, 8:07 pm)
Re: 32bit builds on x86-64 host., Christoph Hellwig, (Tue Oct 30, 9:10 am)
Re: 32bit builds on x86-64 host., Jeremy Fitzhardinge, (Tue Oct 30, 9:00 pm)
Re: 32bit builds on x86-64 host., Christoph Hellwig, (Wed Oct 31, 4:57 am)
Re: 32bit builds on x86-64 host., Sam Ravnborg, (Wed Oct 31, 5:41 am)
Re: 32bit builds on x86-64 host., H. Peter Anvin, (Tue Oct 30, 9:11 pm)
Re: 32bit builds on x86-64 host., Dave Jones, (Mon Oct 29, 8:39 pm)
Re: 32bit builds on x86-64 host., Al Viro, (Mon Oct 29, 8:06 pm)
speck-geostationary