diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-06-10 16:32:15 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-06-10 16:32:15 +0000 |
commit | d8bea7da9ac837eb7d23183ad58614120dd7d903 (patch) | |
tree | 118bb816500841904def723faf047507d0e7b523 | |
parent | 1e7129ca5042cd2a8ee1b3c679ce3eedca1846d4 (diff) | |
download | upstream-d8bea7da9ac837eb7d23183ad58614120dd7d903.tar.gz upstream-d8bea7da9ac837eb7d23183ad58614120dd7d903.tar.bz2 upstream-d8bea7da9ac837eb7d23183ad58614120dd7d903.zip |
tools: add a python symlink that prefers python2
SVN-Revision: 32164
-rw-r--r-- | tools/Makefile | 3 |
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) |