mirror of https://github.com/thesofproject/sof.git
cmake: debug build support
Change DEBUG_BUILD define to use Kconfig's CONFIG_DEBUG Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This commit is contained in:
parent
1526860228
commit
0682b6e923
2
Kconfig
2
Kconfig
|
@ -42,7 +42,7 @@ config DEBUG_HEAP
|
|||
help
|
||||
Select for enable heap alloc debugging
|
||||
|
||||
config DEBUG_BUILD
|
||||
config DEBUG
|
||||
bool "Debug build"
|
||||
default n
|
||||
help
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
#define DEBUG_GDB 0
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_BUILD
|
||||
#ifdef CONFIG_DEBUG
|
||||
|
||||
#define DEBUG_SET_FW_READY_FLAGS \
|
||||
{ \
|
||||
|
|
|
@ -69,7 +69,7 @@ static const struct sof_ipc_fw_ready ready
|
|||
.micro = SOF_MICRO,
|
||||
.minor = SOF_MINOR,
|
||||
.major = SOF_MAJOR,
|
||||
#ifdef DEBUG_BUILD
|
||||
#ifdef CONFIG_DEBUG
|
||||
/* only added in debug for reproducability in releases */
|
||||
.build = SOF_BUILD,
|
||||
.date = __DATE__,
|
||||
|
|
|
@ -68,7 +68,7 @@ static const struct sof_ipc_fw_ready ready
|
|||
.micro = SOF_MICRO,
|
||||
.minor = SOF_MINOR,
|
||||
.major = SOF_MAJOR,
|
||||
#ifdef DEBUG_BUILD
|
||||
#ifdef CONFIG_DEBUG
|
||||
/* only added in debug for reproducability in releases */
|
||||
.build = SOF_BUILD,
|
||||
.date = __DATE__,
|
||||
|
|
|
@ -69,7 +69,7 @@ static const struct sof_ipc_fw_ready ready
|
|||
.micro = SOF_MICRO,
|
||||
.minor = SOF_MINOR,
|
||||
.major = SOF_MAJOR,
|
||||
#ifdef DEBUG_BUILD
|
||||
#ifdef CONFIG_DEBUG
|
||||
/* only added in debug for reproducability in releases */
|
||||
.build = SOF_BUILD,
|
||||
.date = __DATE__,
|
||||
|
|
Loading…
Reference in New Issue