Skip to contentSkip to conversation

svn commit: trunk/buildroot/toolchain/dependencies

Buildroot jacmet at uclibc.org 1 participant 1 message Jun 18, 2008

lore
Share & tools
lore
#0 lore raw

Author: jacmet
Date: 2008-06-18 06:11:52 -0700 (Wed, 18 Jun 2008) New Revision: 22412

Log:
dependencies: check for awk

Modified:
trunk/buildroot/toolchain/dependencies/dependencies.sh

Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.sh
===================================================================

buildroot/toolchain/dependencies/dependencies.sh +12 -0
@@ -234,6 +234,18 @@
 
 #############################################################
 #
+# check build system 'awk'
+#
+#############################################################
+if ! which awk > /dev/null ; then
+	echo "awk installed:		    FALSE"
+	/bin/echo -e "\n\nYou must install 'awk' on your build machine\n";
+	exit 1;
+fi;
+echo "awk installed:					Ok"
+
+#############################################################
+#
 # check build system 'bison'
 #
 #############################################################