]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
build: Add compatibility with uutils' coreutils 19883/head
authorMarcos Alano <marcoshalano@gmail.com>
Wed, 27 Aug 2025 11:35:37 +0000 (08:35 -0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 8 Sep 2025 12:41:38 +0000 (14:41 +0200)
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>
include/prereq-build.mk

index b913e62e430feda8e9da6a982d11665aa870b1db..ba95f7eb62e9df27b03aa18a977452be2f78a5e3 100644 (file)
@@ -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, \