summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-10 16:32:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-06-10 16:32:15 +0000
commitd8bea7da9ac837eb7d23183ad58614120dd7d903 (patch)
tree118bb816500841904def723faf047507d0e7b523 /tools/Makefile
parent1e7129ca5042cd2a8ee1b3c679ce3eedca1846d4 (diff)
downloadmtk-20170518-d8bea7da9ac837eb7d23183ad58614120dd7d903.zip
mtk-20170518-d8bea7da9ac837eb7d23183ad58614120dd7d903.tar.gz
mtk-20170518-d8bea7da9ac837eb7d23183ad58614120dd7d903.tar.bz2
tools: add a python symlink that prefers python2
SVN-Revision: 32164
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index f4ee0a9..8366c4d 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -120,8 +120,9 @@ $(eval $(call PrepareCommand,find,gfind find))
$(eval $(call PrepareCommand,md5sum,md5sum $(SCRIPT_DIR)/md5sum))
$(eval $(call PrepareCommand,cp,gcp cp))
$(eval $(call PrepareCommand,seq,gseq seq))
+$(eval $(call PrepareCommand,python,python2 python))
-$(curdir)/cmddeps = $(patsubst %,$(STAGING_DIR_HOST)/bin/%,find md5sum cp stat seq)
+$(curdir)/cmddeps = $(patsubst %,$(STAGING_DIR_HOST)/bin/%,find md5sum cp stat seq python)
$(curdir)//prepare = $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/.prepared $($(curdir)/cmddeps)
$(curdir)//compile = $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/.prepared $($(curdir)/cmddeps)