Add 'bc' in the mandatory dependencies
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 5 Jul 2013 08:48:09 +0000 (10:48 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 5 Jul 2013 13:30:43 +0000 (15:30 +0200)
Since a few kernel releases, having 'bc' installed is mandatory to
build the kernel. See commit
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=70730bca1331fc50c3caacaea00439de1325bd6e
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
support/dependencies/dependencies.sh.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
support/dependencies/dependencies.sh

index 0b44c5afb37ec9bd5ebab15924ada20946c52749..61a4140abe3cbd1be1a82cbc492a474974e5b0c4 100755 (executable)
@@ -132,7 +132,7 @@ fi;
 
 # Check that a few mandatory programs are installed
 missing_progs="no"
-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";
        missing_progs="yes"