mk: Add Makefile variable for python
commit4dec62ce9c2c0d170f21b3ae2d7c618eb7a30c05
authorMatt Fleming <matt.fleming@intel.com>
Mon, 12 Nov 2012 15:38:33 +0000 (12 15:38 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Mon, 12 Nov 2012 15:38:33 +0000 (12 15:38 +0000)
treea8d48692f2529f879005bc28e7898524b8b412af
parent6387f043f7f870e4f0b402dae0b921d99eb82c39
mk: Add Makefile variable for python

Instead of hard-coding the python executable name use a make variable
like we do for all other executables used during the build. This has
the added bonus of allowing $(PYTHON) to be overridden on the command
line, e.g.

   make PYTHON=python2

which is particularly useful for distributions where /usr/bin/python
is actually python3.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/cmenu/Makefile
mk/syslinux.mk