ia64/xen-unstable

changeset 8711:d8598a7db684

allow compilation of 32 bits on biarch 64 bits.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
author vhanquez@kneesa.uk.xensource.com
date Tue Jan 31 12:00:25 2006 +0000 (2006-01-31)
parents 9532090d250f
children efd7c2f3b496
files linux-2.6-xen-sparse/arch/i386/Makefile
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/i386/Makefile	Tue Jan 31 12:03:11 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/arch/i386/Makefile	Tue Jan 31 12:00:25 2006 +0000
     1.3 @@ -17,6 +17,13 @@
     1.4  # 20050320  Kianusch Sayah Karadji <kianusch@sk-tech.net>
     1.5  #           Added support for GEODE CPU
     1.6  
     1.7 +HAS_BIARCH      := $(call cc-option-yn, -m32)
     1.8 +ifeq ($(HAS_BIARCH),y)
     1.9 +AS              := $(AS) --32
    1.10 +LD              := $(LD) -m elf_i386
    1.11 +CC              := $(CC) -m32
    1.12 +endif
    1.13 +
    1.14  LDFLAGS		:= -m elf_i386
    1.15  OBJCOPYFLAGS	:= -O binary -R .note -R .comment -S
    1.16  LDFLAGS_vmlinux :=