direct-io.hg

view Config.mk @ 4376:c3e543f81772

bitkeeper revision 1.1236.1.156 (424a5bd5fg_psBdMIPncUZSGGI9ryQ)

[PATCH] ioemu-x86-64-makefile.patch

Fix makefiles on x86-64.

Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
author arun.sharma@intel.com[kaf24]
date Wed Mar 30 07:57:09 2005 +0000 (2005-03-30)
parents 486217f3ad4f
children a01199a95070 e7f3366cfafd
line source
1 # -*- mode: Makefile; -*-
2 # Currently supported architectures: x86_32, x86_64
3 XEN_COMPILE_ARCH ?= $(shell uname -m | sed -e s/i.86/x86_32/)
4 XEN_TARGET_ARCH ?= $(XEN_COMPILE_ARCH)
6 #
7 # Tool configuration Makefile fragment
8 #
9 HOSTCC = gcc
10 HOSTCFLAGS = -Wall -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 NM = $(CROSS_COMPILE)nm
18 STRIP = $(CROSS_COMPILE)strip
19 OBJCOPY = $(CROSS_COMPILE)objcopy
20 OBJDUMP = $(CROSS_COMPILE)objdump
23 ifneq ($(EXTRA_PREFIX),)
24 EXTRA_INCLUDES += $(EXTRA_PREFIX)/include
25 EXTRA_LIB += $(EXTRA_PREFIX)/lib
26 endif
28 LDFLAGS += $(foreach i, $(EXTRA_LIB), -L$(i))
29 CFLAGS += $(foreach i, $(EXTRA_INCLUDES), -I$(i))
31 CFLAGS += -g