Needed to make sure we get gdate and gdd from Homebrew on Darwin instead of the
ones built-in to the OS.

Signed-off-by: Lawrence D'Anna <la...@elder-gods.org>
---
 include/prereq-build.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/include/prereq-build.mk b/include/prereq-build.mk
index 6c8cbf1..39704e1 100644
--- a/include/prereq-build.mk
+++ b/include/prereq-build.mk
@@ -148,6 +148,13 @@ $(eval $(call SetupHostCommand,file,Please install the 
'file' package, \
 $(eval $(call SetupHostCommand,openssl,Please install the 'openssl' utility, \
        openssl version | grep OpenSSL))
 
+$(eval $(call SetupHostCommand,date,Please install GNU 'date', \
+       date --help, \
+       gdate --help))
+
+$(eval $(call SetupHostCommand,dd,Please install GNU 'dd', \
+       dd --help, \
+       gdd --help))
 
 # Install ldconfig stub
 $(eval $(call TestHostCommand,ldconfig-stub,Failed to install stub, \
-- 
2.3.8 (Apple Git-58)
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to