summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Tsiamasiotis2025-10-02 19:04:51 +0000
committerRobert Marko2025-10-06 17:08:56 +0000
commit2730d1186a0eee7f87d1727f2cfb1ca038ad7dea (patch)
treedd34eb039971ee03852803126c91a0a528e26b3a
parent4153205022eea7764c561e3398eb3dd8bd288e9e (diff)
downloadopenwrt-2730d1186a0eee7f87d1727f2cfb1ca038ad7dea.tar.gz
iproute2: enable automatic color output by default
Support for color output has existed in iproute2 since forever and we never compile it out, even in tiny variants. As such, not requiring people to constantly add -c to their ip commands is a nice QoL feature. Signed-off-by: George Tsiamasiotis <george@tsiamasiotis.gr> Link: https://github.com/openwrt/openwrt/pull/20281 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--package/network/utils/iproute2/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile
index 8bcbde0c79..6b7dee71c9 100644
--- a/package/network/utils/iproute2/Makefile
+++ b/package/network/utils/iproute2/Makefile
@@ -172,7 +172,8 @@ CONFIGURE_VARS += \
CONFIGURE_ARGS += \
--include_dir="$(TOOLCHAIN_ROOT_DIR)/usr/include" \
- --libbpf_force=$(LIBBPF_FORCE)
+ --libbpf_force=$(LIBBPF_FORCE) \
+ --color=auto
MAKE_FLAGS += \
SHARED_LIBS=$(SHARED_LIBS) \