From: Felix Fietkau Date: Sun, 10 Jun 2012 16:32:15 +0000 (+0000) Subject: tools: add a python symlink that prefers python2 X-Git-Tag: reboot~13636 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d8bea7da9ac837eb7d23183ad58614120dd7d903;p=openwrt%2Fstaging%2Fjogo.git tools: add a python symlink that prefers python2 SVN-Revision: 32164 --- 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)