aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/prereq-build.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/prereq-build.mk b/include/prereq-build.mk
index 4a0509ac00..ed652ca9a7 100644
--- a/include/prereq-build.mk
+++ b/include/prereq-build.mk
@@ -109,8 +109,8 @@ $(eval $(call SetupHostCommand,diff,Please install diffutils, \
diff --version 2>&1 | grep diff))
$(eval $(call SetupHostCommand,cp,Please install GNU fileutils, \
- gcp --help, \
- cp --help))
+ gcp --help 2>&1 | grep 'Copy SOURCE', \
+ cp --help 2>&1 | grep 'Copy SOURCE'))
$(eval $(call SetupHostCommand,seq,, \
gseq --version, \