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>
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