~ubuntu-branches/ubuntu/utopic/xen/utopic

« back to all changes in this revision

Viewing changes to extras/mini-os/arch/x86/arch.mk

  • Committer: Bazaar Package Importer
  • Author(s): Bastian Blank
  • Date: 2010-05-06 15:47:38 UTC
  • mto: (1.3.1) (15.1.1 sid) (4.1.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20100506154738-agoz0rlafrh1fnq7
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Architecture special makerules for x86 family
 
3
# (including x86_32, x86_32y and x86_64).
 
4
#
 
5
 
 
6
ifeq ($(XEN_TARGET_ARCH),x86_32)
 
7
ARCH_CFLAGS  := -m32 -march=i686
 
8
ARCH_LDFLAGS := -m elf_i386
 
9
ARCH_ASFLAGS := -m32
 
10
EXTRA_INC += $(TARGET_ARCH_FAM)/$(XEN_TARGET_ARCH)
 
11
EXTRA_SRC += arch/$(EXTRA_INC)
 
12
endif
 
13
 
 
14
ifeq ($(XEN_TARGET_ARCH),x86_64)
 
15
ARCH_CFLAGS := -m64 -mno-red-zone -fno-reorder-blocks
 
16
ARCH_CFLAGS += -fno-asynchronous-unwind-tables
 
17
ARCH_ASFLAGS := -m64
 
18
ARCH_LDFLAGS := -m elf_x86_64
 
19
EXTRA_INC += $(TARGET_ARCH_FAM)/$(XEN_TARGET_ARCH)
 
20
EXTRA_SRC += arch/$(EXTRA_INC)
 
21
endif
 
22