Name

MK_DEBUG — Controls debug mode

Synopsis

MODULES="... core ..."
mk_declare -e MK_DEBUG

Values

yes

Debug mode is turned on

no

Debug mode is turned off

Description

Decides whether build products should be created in "debug" mode. This is an abstract setting which is respected by other modules in whatever way is appropriate. For example, when debug mode is on the compiler module turns off optimization compiler flags and the package-deb module builds .deb package with unstripped binaries.