[openwrt/openwrt] build: Add compatibility with uutils' coreutils

LEDE Commits lede-commits at lists.infradead.org
Mon Sep 8 05:42:22 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/67345ead6cf2c406df11f1c341f5c34dfe28bd01

commit 67345ead6cf2c406df11f1c341f5c34dfe28bd01
Author: Marcos Alano <marcoshalano at gmail.com>
AuthorDate: Wed Aug 27 08:35:37 2025 -0300

    build: Add compatibility with uutils' coreutils
    
    Add support so openwrt can be compiled using
    coreutils from GNU or uutils.
    
    Signed-off-by: Marcos Alano <marcoshalano at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/19883
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 include/prereq-build.mk | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/prereq-build.mk b/include/prereq-build.mk
index b913e62e43..ba95f7eb62 100644
--- a/include/prereq-build.mk
+++ b/include/prereq-build.mk
@@ -9,11 +9,11 @@ SHELL:=sh
 PKG_NAME:=Build dependency
 
 $(eval $(call TestHostCommand,true, \
-	Please install GNU 'coreutils', \
+	Please install 'coreutils', \
 	$(TRUE)))
 
 $(eval $(call TestHostCommand,false, \
-	Please install GNU 'coreutils', \
+	Please install 'coreutils', \
 	$(FALSE); [ $$$$$$$$? = 1 ] && $(TRUE)))
 
 # Required for the toolchain
@@ -178,9 +178,9 @@ $(eval $(call SetupHostCommand,bzip2,Please install 'bzip2', \
 $(eval $(call SetupHostCommand,wget,Please install GNU 'wget', \
 	wget --version | grep GNU))
 
-$(eval $(call SetupHostCommand,install,Please install GNU 'install', \
+$(eval $(call SetupHostCommand,install,Please install 'install', \
 	$(TOPDIR)/staging_dir/host/bin/ginstall --version | grep GNU, \
-	install --version | grep GNU, \
+	install --version | grep 'GNU\|uutils', \
 	ginstall --version | grep GNU))
 
 $(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \




More information about the lede-commits mailing list