ptp: make PTP a menuconfig to ease disabling it all
Subsystems (3)
PATCH 1/1 ptp: make PTP a menuconfig to ease disabling it all
No need to get into the submenu to disable all PTP-related config entries.
This makes it easier to disable all PTP config options without entering the submenu. It will also enable one to see that en/dis-abled state from the outside menu.
This is only intended to change menuconfig UI, not change the config dependencies.
--- drivers/ptp/Kconfig | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
drivers/ptp/Kconfig +5 -2
@@ -2,7 +2,10 @@ # PTP clock support configuration # -menu "PTP clock support" +menuconfig PTP_MENU + bool"PTP clock support" + +if PTP_MENU config PTP_1588_CLOCK tristate "PTP clock support"
@@ -118,4 +121,4 @@ config PTP_1588_CLOCK_KVM To compile this driver as a module, choose M here: the module will be called ptp_kvm. -endmenu +endif # PTP_MENU
Signature · 1 line
2.14.1
Quoted 9 lines · Vincent Legoll
No need to get into the submenu to disable all PTP-related config entries.
This makes it easier to disable all PTP config options without entering the submenu. It will also enable one to see that en/dis-abled state from the outside menu.
This is only intended to change menuconfig UI, not change the config dependencies.
NAK, you are introducing a new config option for no good reason.
Sorry,
Richard
Hello,
Quoted 1 line · Richard Cochran
NAK, you are introducing a new config option for no good reason.
I don't think there are alternatives available in Kconfig to achieve the goal of easing the management of a .config with menuconfig.
Do you have any idea about how to do it without using menuconfig ?
Thanks
Signature · 1 line
Vincent Legoll
Richard Cochran
maintainerQuoted 4 lines · Vincent Legoll
I don't think there are alternatives available in
Kconfigto achieve the goal of easing the management of a .config with menuconfig.Do you have any idea about how to do it without using menuconfig ?
scripts/config
HTH,
Richard