From: Rosen Penev Date: Sat, 12 Jun 2021 23:02:29 +0000 (-0700) Subject: prereq-build: diff requirement to GNU X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9bf654ac4742326ddda6656182f5bae00ad3757b;p=openwrt%2Fstaging%2Flinusw.git prereq-build: diff requirement to GNU tools/quilt requires GNU diffutils to compile. Failure can be simulated by installing Alpine Linux without diffutils. Signed-off-by: Rosen Penev --- diff --git a/include/prereq-build.mk b/include/prereq-build.mk index 639d1ad0fa..8fbf6f22c4 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -102,9 +102,9 @@ $(eval $(call SetupHostCommand,patch,Please install GNU 'patch', \ gpatch --version 2>&1 | grep 'Free Software Foundation', \ patch --version 2>&1 | grep 'Free Software Foundation')) -$(eval $(call SetupHostCommand,diff,Please install diffutils, \ - gdiff --version 2>&1 | grep diff, \ - diff --version 2>&1 | grep diff)) +$(eval $(call SetupHostCommand,diff,Please install GNU diffutils, \ + gdiff --version 2>&1 | grep GNU, \ + diff --version 2>&1 | grep GNU)) $(eval $(call SetupHostCommand,cp,Please install GNU fileutils, \ gcp --help 2>&1 | grep 'Copy SOURCE', \