mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
support/dependencies/dependencies.sh: check for 'cmp'
cmp from diffutils is part of the host system requirements, so check
for it. It is used in package/pkg-generic.mk.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 1ca7348fd4)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
cbc6b03ebc
commit
049500e07d
@@ -163,7 +163,7 @@ fi
|
|||||||
|
|
||||||
# Check that a few mandatory programs are installed
|
# Check that a few mandatory programs are installed
|
||||||
missing_progs="no"
|
missing_progs="no"
|
||||||
for prog in perl tar wget cpio unzip rsync bc ${DL_TOOLS} ; do
|
for prog in perl tar wget cpio unzip rsync bc cmp ${DL_TOOLS} ; do
|
||||||
if ! which $prog > /dev/null ; then
|
if ! which $prog > /dev/null ; then
|
||||||
echo "You must install '$prog' on your build machine";
|
echo "You must install '$prog' on your build machine";
|
||||||
missing_progs="yes"
|
missing_progs="yes"
|
||||||
@@ -175,6 +175,8 @@ for prog in perl tar wget cpio unzip rsync bc ${DL_TOOLS} ; do
|
|||||||
echo " zcat is usually part of the gzip package in your distribution"
|
echo " zcat is usually part of the gzip package in your distribution"
|
||||||
elif test $prog = "bzcat" ; then
|
elif test $prog = "bzcat" ; then
|
||||||
echo " bzcat is usually part of the bzip2 package in your distribution"
|
echo " bzcat is usually part of the bzip2 package in your distribution"
|
||||||
|
elif test $prog = "cmp" ; then
|
||||||
|
echo " cmp is usually part of the diffutils package in your distribution"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user