tools/coreutils: provide the rmdir utility
authorMichael Pratt <mcpratt@pm.me>
Fri, 27 Sep 2024 03:17:41 +0000 (23:17 -0400)
committerRobert Marko <robimarko@gmail.com>
Sat, 26 Jul 2025 12:38:08 +0000 (14:38 +0200)
Use the rmdir utility provided by GNU coreutils for macOS
in order to be able to use the option "--ignore-fail-on-non-empty".

Some other tools such as elfutils use this while building.

Tested-by: Georgi Valkov <gvalkov@gmail.com> # macOS
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/16522
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/coreutils/Makefile

index fcd2fa76bbecefe93846dc80cd8dd64ea01f07da..a0443b214cbbe55a4b8d95b8c9ef10d0d1b11c4c 100644 (file)
@@ -16,7 +16,7 @@ PKG_HASH:=2bec616375002c92c1ed5ead32a092b174fe44c14bc736d32e5961053b821d84
 
 HOST_BUILD_PARALLEL := 1
 
-PKG_PROGRAMS:=chown cp date ginstall ln readlink realpath seq stat touch
+PKG_PROGRAMS:=chown cp date ginstall ln readlink realpath rmdir seq stat touch
 
 include $(INCLUDE_DIR)/host-build.mk