summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-12-17 15:11:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-12-17 15:11:34 +0000
commitf403e2dcca7b2ee86ef84c3bf673e521495b1534 (patch)
tree42e9177ac11b2019530cabf54a93f0c110fa5bfb
parent14281559e18298045bda9e3a4408a79c8039e9d9 (diff)
downloadmtk-20170518-f403e2dcca7b2ee86ef84c3bf673e521495b1534.zip
mtk-20170518-f403e2dcca7b2ee86ef84c3bf673e521495b1534.tar.gz
mtk-20170518-f403e2dcca7b2ee86ef84c3bf673e521495b1534.tar.bz2
tools: add a symlink for gnu awk to fix kernel build errors on some platforms
SVN-Revision: 34736
-rw-r--r--tools/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 9a0e148..802d6c9 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -128,8 +128,9 @@ $(eval $(call PrepareCommand,md5sum,gmd5sum md5sum $(SCRIPT_DIR)/md5sum))
$(eval $(call PrepareCommand,cp,gcp cp))
$(eval $(call PrepareCommand,seq,gseq seq))
$(eval $(call PrepareCommand,python,python2 python))
+$(eval $(call PrepareCommand,awk,gawk awk))
-$(curdir)/cmddeps = $(patsubst %,$(STAGING_DIR_HOST)/bin/%,find md5sum cp stat seq python)
+$(curdir)/cmddeps = $(patsubst %,$(STAGING_DIR_HOST)/bin/%,find md5sum cp stat seq python awk)
$(curdir)//prepare = $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/.prepared $($(curdir)/cmddeps)
$(curdir)//compile = $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/.prepared $($(curdir)/cmddeps)