]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
iproute2: enable automatic color output by default 20281/head
authorGeorge Tsiamasiotis <george@tsiamasiotis.gr>
Thu, 2 Oct 2025 19:04:51 +0000 (22:04 +0300)
committerRobert Marko <robimarko@gmail.com>
Mon, 6 Oct 2025 17:08:56 +0000 (19:08 +0200)
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>
package/network/utils/iproute2/Makefile

index 8bcbde0c79836f40b4c34095dfbf20351e18029f..6b7dee71c984c3d4a06d7a67cac1214678f5473b 100644 (file)
@@ -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) \