From 486217d7a2779d35c1177c7b1b7e96c1e5d30441 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 3 Jan 2013 02:53:05 -0500 Subject: [PATCH] add missing $(CFG_PYTHON) prefixes --- mk/docs.mk | 2 +- mk/snap.mk | 6 +++--- mk/stage0.mk | 2 +- mk/tests.mk | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mk/docs.mk b/mk/docs.mk index 2a7b3eccbf6..9f64712b9c8 100644 --- a/mk/docs.mk +++ b/mk/docs.mk @@ -152,7 +152,7 @@ else doc/rust.g: rust.md $(S)src/etc/extract_grammar.py @$(call E, extract_grammar: $@) - $(Q)$(S)src/etc/extract_grammar.py $< >$@ + $(Q)$(CFG_PYTHON) $(S)src/etc/extract_grammar.py $< >$@ verify-grammar: doc/rust.g @$(call E, LLnextgen: $<) diff --git a/mk/snap.mk b/mk/snap.mk index 382f3cb4a88..21bdc3b80d8 100644 --- a/mk/snap.mk +++ b/mk/snap.mk @@ -14,10 +14,10 @@ define DEF_SNAP_FOR_STAGE_H ifdef CFG_INSTALL_SNAP snap-stage$(1)-H-$(2): $$(HSREQ$(1)_H_$(2)) - $(S)src/etc/make-snapshot.py stage$(1) $(2) install + $(CFG_PYTHON) $(S)src/etc/make-snapshot.py stage$(1) $(2) install else snap-stage$(1)-H-$(2): $$(HSREQ$(1)_H_$(2)) - $(S)src/etc/make-snapshot.py stage$(1) $(2) + $(CFG_PYTHON) $(S)src/etc/make-snapshot.py stage$(1) $(2) endif endef @@ -30,4 +30,4 @@ snap-stage1: snap-stage1-H-$(CFG_HOST_TRIPLE) snap-stage2: snap-stage2-H-$(CFG_HOST_TRIPLE) -snap-stage3: snap-stage3-H-$(CFG_HOST_TRIPLE) \ No newline at end of file +snap-stage3: snap-stage3-H-$(CFG_HOST_TRIPLE) diff --git a/mk/stage0.mk b/mk/stage0.mk index b64f5df9ca0..e1a83c18f4d 100644 --- a/mk/stage0.mk +++ b/mk/stage0.mk @@ -11,7 +11,7 @@ $(HBIN0_H_$(CFG_HOST_TRIPLE))/rustc$(X): \ ifdef CFG_ENABLE_LOCAL_RUST $(Q)$(S)src/etc/local_stage0.sh $(CFG_HOST_TRIPLE) $(CFG_LOCAL_RUST_ROOT) else - $(Q)$(S)src/etc/get-snapshot.py $(CFG_HOST_TRIPLE) $(SNAPSHOT_FILE) + $(Q)$(CFG_PYTHON) $(S)src/etc/get-snapshot.py $(CFG_HOST_TRIPLE) $(SNAPSHOT_FILE) ifdef CFG_ENABLE_PAX_FLAGS @$(call E, apply PaX flags: $@) @"$(CFG_PAXCTL)" -cm "$@" diff --git a/mk/tests.mk b/mk/tests.mk index 3f085494f56..454d540d84d 100644 --- a/mk/tests.mk +++ b/mk/tests.mk @@ -701,7 +701,7 @@ tmp/$(FT).rc tmp/$(FT_DRIVER).rs: \ $(RPASS_TESTS) \ $(S)src/etc/combine-tests.py @$(call E, check: building combined stage2 test runner) - $(Q)$(S)src/etc/combine-tests.py + $(Q)$(CFG_PYTHON) $(S)src/etc/combine-tests.py define DEF_CHECK_FAST_FOR_T_H # $(1) unused