ia64/xen-unstable

changeset 17831:f292689f48ba

Push python-related make variable definitions into tools/misc.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Jun 11 09:44:42 2008 +0100 (2008-06-11)
parents b8fa4a11f715
children 7c771f0a24f3
files tools/Rules.mk tools/misc/Makefile
line diff
     1.1 --- a/tools/Rules.mk	Wed Jun 11 09:36:23 2008 +0100
     1.2 +++ b/tools/Rules.mk	Wed Jun 11 09:44:42 2008 +0100
     1.3 @@ -35,11 +35,6 @@ LDFLAGS += $(shell getconf LFS_LDFLAGS)
     1.4  CFLAGS-$(CONFIG_X86_32) += $(call cc-option,$(CC),-mno-tls-direct-seg-refs)
     1.5  CFLAGS += $(CFLAGS-y)
     1.6  
     1.7 -DEFAULT_PYTHON_PATH := $(shell $(XEN_ROOT)/tools/python/get-path)
     1.8 -PYTHON_PATH ?= $(DEFAULT_PYTHON_PATH)
     1.9 -INSTALL_PYTHON_PROG = $(XEN_ROOT)/tools/python/install-wrap \
    1.10 -"$(PYTHON_PATH)" $(INSTALL_PROG)
    1.11 -
    1.12  # Require GCC v3.4+ (to avoid issues with alignment constraints in Xen headers)
    1.13  check-$(CONFIG_X86) = $(call cc-ver-check,CC,0x030400,\
    1.14                          "Xen requires at least gcc-3.4")
     2.1 --- a/tools/misc/Makefile	Wed Jun 11 09:36:23 2008 +0100
     2.2 +++ b/tools/misc/Makefile	Wed Jun 11 09:44:42 2008 +0100
     2.3 @@ -21,6 +21,11 @@ SUBDIRS := $(SUBDIRS-y)
     2.4  INSTALL_BIN  = $(TARGETS) xencons
     2.5  INSTALL_SBIN = netfix xm xen-bugtool xen-python-path xend xenperf xsview
     2.6  
     2.7 +DEFAULT_PYTHON_PATH := $(shell $(XEN_ROOT)/tools/python/get-path)
     2.8 +PYTHON_PATH ?= $(DEFAULT_PYTHON_PATH)
     2.9 +INSTALL_PYTHON_PROG = $(XEN_ROOT)/tools/python/install-wrap \
    2.10 +"$(PYTHON_PATH)" $(INSTALL_PROG)
    2.11 +
    2.12  .PHONY: all
    2.13  all: build
    2.14