From 4dc71920daa1c18516f0a809f303a7287cdea8a1 Mon Sep 17 00:00:00 2001 From: baujc <baujc@cwe-513-vol554.cern.ch> Date: Tue, 26 Feb 2019 10:12:56 +0100 Subject: [PATCH] Kconfig: Always add debugging information for the compilation --- Kconfig | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/Kconfig b/Kconfig index f46774e9d..dbe704774 100644 --- a/Kconfig +++ b/Kconfig @@ -1041,30 +1041,6 @@ config READ_SFP_DIAG_ENABLE help Let HAL to read Diagnostic Monitoring from SFP's eeprom. -endmenu # "Developer options" - -menu "RTU HP mask" - -config RTU_HP_MASK_ENABLE - bool "Set custom High Priority mask in RTU" - default n - help - Set the mask which priorities are considered High Priority (this - only concerns the traffic which is fast-forwarded). - - -config RTU_HP_MASK_VAL - string "HP mask" - default 0 - depends on RTU_HP_MASK_ENABLE - help - Mask with priorities (eg. 0x9 => priority 4 and 0 are considered HP) - - -endmenu - -source Kconfig_vlans.in - choice prompt "Compilation optimization" @@ -1091,10 +1067,34 @@ endchoice config OPTIMIZATION string - default "-Os" if OPTIMIZATION_SIZE_SPEED - default "-O2" if OPTIMIZATION_SPEED + default "-Os -ggdb" if OPTIMIZATION_SIZE_SPEED + default "-O2 -ggdb" if OPTIMIZATION_SPEED default "-Og -ggdb" if OPTIMIZATION_DEBUGGING default "-ggdb" if OPTIMIZATION_NONE_DEBUGGING - default "" + default "-ggdb" + +endmenu # "Developer options" + +menu "RTU HP mask" + +config RTU_HP_MASK_ENABLE + bool "Set custom High Priority mask in RTU" + default n + help + Set the mask which priorities are considered High Priority (this + only concerns the traffic which is fast-forwarded). + + +config RTU_HP_MASK_VAL + string "HP mask" + default 0 + depends on RTU_HP_MASK_ENABLE + help + Mask with priorities (eg. 0x9 => priority 4 and 0 are considered HP) + + +endmenu + +source Kconfig_vlans.in -- GitLab