summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2017-04-05 17:46:41 +0200
committerSimon Glass <sjg@chromium.org>2017-04-13 14:44:49 -0600
commitb48bfc74ee410b1e6681c620633ffef32aafaba0 (patch)
tree51cd88bdee091c7b2b3139a5f76b6593ae716b36 /Makefile
parent5a8a8045a928702d9b3fb6f73a4e9717040e09a9 (diff)
tools: allow to override python
Not force to use python from PATH. Issue was noted when building with Yocto, because python from the distro is always taken instead of python-native built during Yocto process. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 09b597d450..8d4e6050b3 100644
--- a/Makefile
+++ b/Makefile
@@ -348,7 +348,7 @@ OBJCOPY = $(CROSS_COMPILE)objcopy
OBJDUMP = $(CROSS_COMPILE)objdump
AWK = awk
PERL = perl
-PYTHON = python
+PYTHON ?= python
DTC = dtc
CHECK = sparse