From: Karen White Subject: [PATCH] add pae flag to xen/Rules.mk Date: Mon, 28 Mar 2005 18:26:28 -0600 Message-ID: <1112055988.21025.26.camel@kwdevel.austin.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-BO0NToMFJLQ5R1WwD56q" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --=-BO0NToMFJLQ5R1WwD56q Content-Type: text/plain Content-Transfer-Encoding: 7bit Add pae flag to xen/Rules.mk. Adds -DCONFIG_PAE to CFLAGS if pae is set and target is x86_32 Signed-off-by: Karen White Karen --=-BO0NToMFJLQ5R1WwD56q Content-Disposition: attachment; filename=rules.mk.pae.patch Content-Type: text/x-patch; name=rules.mk.pae.patch; charset=UTF-8 Content-Transfer-Encoding: 7bit --- xen.orig/Rules.mk 2005-03-23 17:43:41.000000000 -0600 +++ xen/Rules.mk 2005-03-28 16:03:16.920236840 -0600 @@ -6,6 +6,7 @@ trace ?= n optimize ?= y domu_debug ?= n crash_debug ?= n +pae ?= n # Currently supported architectures: x86_32, x86_64 XEN_COMPILE_ARCH ?= $(shell uname -m | sed -e s/i.86/x86_32/) @@ -71,6 +72,12 @@ ifeq ($(trace),y) CFLAGS += -DTRACE_BUFFER endif +ifeq ($(pae),y) + ifeq ($(XEN_TARGET_ARCH),x86_32) + CFLAGS += -DCONFIG_PAE + endif +endif + CFLAGS := $(strip $(CFLAGS)) %.o: %.c $(HDRS) Makefile --=-BO0NToMFJLQ5R1WwD56q Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-BO0NToMFJLQ5R1WwD56q--