diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-07-09 15:26:24 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-07-09 15:26:24 +0100 |
commit | 3e3897953d3bf064a90288c55243f6f8d45c80f3 (patch) | |
tree | 4938b78509a9ff7e87f1021cffa5ed906b80733a /xen/include/Makefile | |
parent | 6edab9fe64689945d4c8124442b76ae7d09406f8 (diff) | |
download | xen-3e3897953d3bf064a90288c55243f6f8d45c80f3.tar.gz xen-3e3897953d3bf064a90288c55243f6f8d45c80f3.tar.bz2 xen-3e3897953d3bf064a90288c55243f6f8d45c80f3.zip |
Use $(PYTHON) Makefile variable when building the hypervisor.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'xen/include/Makefile')
-rw-r--r-- | xen/include/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xen/include/Makefile b/xen/include/Makefile index 71cd172aa1..0223835c08 100644 --- a/xen/include/Makefile +++ b/xen/include/Makefile @@ -52,7 +52,7 @@ compat/%.h: compat/%.i Makefile $(if $(filter-out compat/arch-%.h,$@),echo "#include <$(patsubst compat/%,public/%,$@)>" >>$@.new;) \ $(if $(prefix-y),echo "$(prefix-y)" >>$@.new;) \ grep -v '^# [0-9]' $< | \ - $(BASEDIR)/tools/compat-build-header.py | uniq >>$@.new; \ + $(PYTHON) $(BASEDIR)/tools/compat-build-header.py | uniq >>$@.new; \ $(if $(suffix-y),echo "$(suffix-y)" >>$@.new;) \ echo "#endif /* $$id */" >>$@.new mv -f $@.new $@ @@ -63,10 +63,11 @@ compat/%.i: compat/%.c Makefile compat/%.c: public/%.h xlat.lst Makefile mkdir -p $(@D) grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' $< | \ - $(BASEDIR)/tools/compat-build-source.py >$@.new + $(PYTHON) $(BASEDIR)/tools/compat-build-source.py >$@.new mv -f $@.new $@ compat/xlat.h: xlat.lst $(filter-out compat/xlat.h,$(headers-y)) $(BASEDIR)/tools/get-fields.sh Makefile + export PYTHON=$(PYTHON); \ grep -v '^[ ]*#' xlat.lst | \ while read what name hdr; do \ $(SHELL) $(BASEDIR)/tools/get-fields.sh "$$what" compat_$$name $$(echo compat/$$hdr | sed 's,@arch@,$(compat-arch-y),g') || exit $$?; \ |