Skip to content

Commit

Permalink
Makefile: Allow specifying PYTHON environment variable.
Browse files Browse the repository at this point in the history
This is required for Minix, where python is named "python2.X".

Reviewed-by: Simo Sorce <[email protected]>
Signed-off-by: Jelmer Vernooij <[email protected]>

Autobuild-User(master): Jelmer Vernooij <[email protected]>
Autobuild-Date(master): Fri Nov  9 16:39:09 CET 2012 on sn-devel-104
  • Loading branch information
jelmer committed Nov 9, 2012
1 parent 010fd29 commit ec0104b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# simple makefile wrapper to run waf

WAF_BINARY=./buildtools/bin/waf
PYTHON?=python
WAF_BINARY=$(PYTHON) ./buildtools/bin/waf
WAF=WAF_MAKE=1 $(WAF_BINARY)

all:
Expand Down

0 comments on commit ec0104b

Please sign in to comment.