summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcos Alano2025-08-27 11:35:37 +0000
committerHauke Mehrtens2026-02-28 15:49:24 +0000
commit1bd47397ae890fc951d77f3010d58ace73839f76 (patch)
treedcd2afad1ba540d31edfe28982215f3149f3d97c
parent73819013eebca620944673e333dc47fb36bec95c (diff)
downloadopenwrt-1bd47397ae890fc951d77f3010d58ace73839f76.tar.gz
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@gmail.com> Link: https://github.com/openwrt/openwrt/pull/19883 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 67345ead6cf2c406df11f1c341f5c34dfe28bd01)
-rw-r--r--include/prereq-build.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/prereq-build.mk b/include/prereq-build.mk
index 8b138cfc44..d141c40606 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
@@ -174,8 +174,8 @@ $(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', \
- install --version | grep GNU, \
+$(eval $(call SetupHostCommand,install,Please install 'install', \
+ install --version | grep 'GNU\|uutils', \
ginstall --version | grep GNU))
$(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \