aboutsummaryrefslogtreecommitdiffstats
path: root/mk
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-11-12 15:38:33 +0000
committerMatt Fleming <matt.fleming@intel.com>2012-11-12 15:38:33 +0000
commit4dec62ce9c2c0d170f21b3ae2d7c618eb7a30c05 (patch)
treea8d48692f2529f879005bc28e7898524b8b412af /mk
parent6387f043f7f870e4f0b402dae0b921d99eb82c39 (diff)
downloadsyslinux-4dec62ce9c2c0d170f21b3ae2d7c618eb7a30c05.tar.gz
syslinux-4dec62ce9c2c0d170f21b3ae2d7c618eb7a30c05.tar.xz
syslinux-4dec62ce9c2c0d170f21b3ae2d7c618eb7a30c05.zip
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>
Diffstat (limited to 'mk')
-rw-r--r--mk/syslinux.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/mk/syslinux.mk b/mk/syslinux.mk
index 4cf34e36..1378b6d5 100644
--- a/mk/syslinux.mk
+++ b/mk/syslinux.mk
@@ -36,6 +36,7 @@ NASM = nasm
NASMOPT = -Ox
PERL = perl
+PYTHON = python
UPX = upx
CHMOD = chmod