diff --git a/package/procps-ng/Config.in b/package/procps-ng/Config.in index 6ff8983202..4afd01699b 100644 --- a/package/procps-ng/Config.in +++ b/package/procps-ng/Config.in @@ -8,3 +8,13 @@ config BR2_PACKAGE_PROCPS_NG Provides things like kill, ps, uptime, free, top, etc... http://sourceforge.net/projects/procps-ng/ + +if BR2_PACKAGE_PROCPS_NG + +config BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP + bool "Use original top layout" + help + Disable modern top layout, return to original top with + detail cpu usage. + +endif diff --git a/package/procps-ng/procps-ng.mk b/package/procps-ng/procps-ng.mk index c5675e2ee6..2f28e3571e 100644 --- a/package/procps-ng/procps-ng.mk +++ b/package/procps-ng/procps-ng.mk @@ -52,6 +52,10 @@ else PROCPS_NG_CONF_OPTS += --enable-w endif +ifeq ($(BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP),y) +PROCPS_NG_CONF_OPTS += --disable-modern-top +endif + # Avoid installing S02sysctl, since openrc provides /etc/init.d/sysctl. define PROCPS_NG_INSTALL_INIT_OPENRC @: