[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Push python-related make variable definitions into tools/misc.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1213173882 -3600
# Node ID f292689f48ba62050f1e019dfad1da0bb6444034
# Parent  b8fa4a11f71506b0b37252b8eebc0c6663736a05
Push python-related make variable definitions into tools/misc.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/Rules.mk      |    5 -----
 tools/misc/Makefile |    5 +++++
 2 files changed, 5 insertions(+), 5 deletions(-)

diff -r b8fa4a11f715 -r f292689f48ba tools/Rules.mk
--- a/tools/Rules.mk    Wed Jun 11 09:36:23 2008 +0100
+++ b/tools/Rules.mk    Wed Jun 11 09:44:42 2008 +0100
@@ -35,11 +35,6 @@ CFLAGS-$(CONFIG_X86_32) += $(call cc-opt
 CFLAGS-$(CONFIG_X86_32) += $(call cc-option,$(CC),-mno-tls-direct-seg-refs)
 CFLAGS += $(CFLAGS-y)
 
-DEFAULT_PYTHON_PATH := $(shell $(XEN_ROOT)/tools/python/get-path)
-PYTHON_PATH ?= $(DEFAULT_PYTHON_PATH)
-INSTALL_PYTHON_PROG = $(XEN_ROOT)/tools/python/install-wrap \
-"$(PYTHON_PATH)" $(INSTALL_PROG)
-
 # Require GCC v3.4+ (to avoid issues with alignment constraints in Xen headers)
 check-$(CONFIG_X86) = $(call cc-ver-check,CC,0x030400,\
                         "Xen requires at least gcc-3.4")
diff -r b8fa4a11f715 -r f292689f48ba tools/misc/Makefile
--- a/tools/misc/Makefile       Wed Jun 11 09:36:23 2008 +0100
+++ b/tools/misc/Makefile       Wed Jun 11 09:44:42 2008 +0100
@@ -20,6 +20,11 @@ SUBDIRS := $(SUBDIRS-y)
 
 INSTALL_BIN  = $(TARGETS) xencons
 INSTALL_SBIN = netfix xm xen-bugtool xen-python-path xend xenperf xsview
+
+DEFAULT_PYTHON_PATH := $(shell $(XEN_ROOT)/tools/python/get-path)
+PYTHON_PATH ?= $(DEFAULT_PYTHON_PATH)
+INSTALL_PYTHON_PROG = $(XEN_ROOT)/tools/python/install-wrap \
+"$(PYTHON_PATH)" $(INSTALL_PROG)
 
 .PHONY: all
 all: build

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.