mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Push python-related make variable definitions into tools/misc.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
1 parent
9f88f46834
commit
cd6d8982db
2 files changed
+5
-5
No files matched your search
@@ -35,11 +35,6 @@ LDFLAGS += $(shell getconf LFS_LDFLAGS)
|
||||
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")
|
||||
|
||||
@@ -21,6 +21,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
|
||||
|
||||
|
||||