[Buildroot] [PATCH] Add 'bc' in the mandatory dependencies

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Jul 5 08:48:09 UTC 2013

Since a few kernel releases, having 'bc' installed is mandatory to
build the kernel. See commit
of the kernel.

Since this tool is generally available by default in distributions,
and we're unlikely to see version-specific problems with it, we
just check for it to be installed in

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
 support/dependencies/dependencies.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh
index 0b44c5a..61a4140 100755
--- a/support/dependencies/dependencies.sh
+++ b/support/dependencies/dependencies.sh
@@ -132,7 +132,7 @@ fi;
 # Check that a few mandatory programs are installed
-for prog in patch perl tar wget cpio python unzip rsync ${DL_TOOLS} ; do
+for prog in patch perl tar wget cpio python unzip rsync bc ${DL_TOOLS} ; do
     if ! which $prog > /dev/null ; then
 	/bin/echo -e "You must install '$prog' on your build machine";

More information about the buildroot mailing list