ia64/xen-unstable

view Config.mk @ 7937:715184c81749

Small build fix to Python xenstore interface library.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author kaf24@firebug.cl.cam.ac.uk
date Sun Nov 20 10:18:29 2005 +0100 (2005-11-20)
parents cc1d77bba4b0
children 112a769787d2 c7508abc5b6b
line source
1 # -*- mode: Makefile; -*-
3 # Currently supported architectures: x86_32, x86_64
4 XEN_COMPILE_ARCH ?= $(shell uname -m | sed -e s/i.86/x86_32/)
5 XEN_TARGET_ARCH ?= $(XEN_COMPILE_ARCH)
6 XEN_TARGET_X86_PAE ?= n
8 # Tools to run on system hosting the build
9 HOSTCC = gcc
10 HOSTCFLAGS = -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer
12 AS = $(CROSS_COMPILE)as
13 LD = $(CROSS_COMPILE)ld
14 CC = $(CROSS_COMPILE)gcc
15 CPP = $(CROSS_COMPILE)gcc -E
16 AR = $(CROSS_COMPILE)ar
17 RANLIB = $(CROSS_COMPILE)ranlib
18 NM = $(CROSS_COMPILE)nm
19 STRIP = $(CROSS_COMPILE)strip
20 OBJCOPY = $(CROSS_COMPILE)objcopy
21 OBJDUMP = $(CROSS_COMPILE)objdump
23 DISTDIR ?= $(XEN_ROOT)/dist
25 INSTALL = install
26 INSTALL_DIR = $(INSTALL) -d -m0755
27 INSTALL_DATA = $(INSTALL) -m0644
28 INSTALL_PROG = $(INSTALL) -m0755
30 ifeq ($(XEN_TARGET_ARCH),x86_64)
31 LIBDIR = lib64
32 else
33 LIBDIR = lib
34 endif
36 ifneq ($(EXTRA_PREFIX),)
37 EXTRA_INCLUDES += $(EXTRA_PREFIX)/include
38 EXTRA_LIB += $(EXTRA_PREFIX)/$(LIBDIR)
39 endif
41 LDFLAGS += $(foreach i, $(EXTRA_LIB), -L$(i))
42 CFLAGS += $(foreach i, $(EXTRA_INCLUDES), -I$(i))
44 # Choose the best mirror to download linux kernel
45 KERNEL_REPO = http://www.kernel.org
47 # If ACM_SECURITY = y, then the access control module is compiled
48 # into Xen and the policy type can be set by the boot policy file
49 # y - Build the Xen ACM framework
50 # n - Do not build the Xen ACM framework
51 ACM_SECURITY ?= n
53 # If ACM_SECURITY = y and no boot policy file is installed,
54 # then the ACM defaults to the security policy set by
55 # ACM_DEFAULT_SECURITY_POLICY
56 # Supported models are:
57 # ACM_NULL_POLICY
58 # ACM_CHINESE_WALL_POLICY
59 # ACM_SIMPLE_TYPE_ENFORCEMENT_POLICY
60 # ACM_CHINESE_WALL_AND_SIMPLE_TYPE_ENFORCEMENT_POLICY
61 ACM_DEFAULT_SECURITY_POLICY ?= ACM_NULL_POLICY
63 # Optional components
64 XENSTAT_XENTOP ?= y
66 VTPM_TOOLS ?= n
68 -include $(XEN_ROOT)/.config