aboutsummaryrefslogtreecommitdiffstats
path: root/tools
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
commit7ab936db65e5ddca5dfecf998a0f1bb53e4c5f8e (patch)
tree1356d5c238cb7c85deeafeac9d2a264be2415588 /tools
parent28cf4e273d19888305c77e1ac51bd9e06d09e0ac (diff)
downloadupstream-7ab936db65e5ddca5dfecf998a0f1bb53e4c5f8e.tar.gz
upstream-7ab936db65e5ddca5dfecf998a0f1bb53e4c5f8e.tar.bz2
upstream-7ab936db65e5ddca5dfecf998a0f1bb53e4c5f8e.zip
tools: add a python symlink that prefers python2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32164 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index f4ee0a96ea..8366c4d01c 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)