From 3d48f3f57b5e98ed485c7e8b99e49d485a06bca9 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 10 Jun 2012 16:32:15 +0000 Subject: tools: add a python symlink that prefers python2 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32164 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- tools/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/Makefile') diff --git a/tools/Makefile b/tools/Makefile index f4ee0a96e..8366c4d01 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) -- cgit v1.2.3