From: Paul Reimer Date: Sun, 30 Sep 2018 23:45:51 +0000 (-0700) Subject: heap: Compile heap_task_info.c conditionally on CONFIG_HEAP_TASK_TRACKING in heap... X-Git-Tag: v3.3-beta1~126^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b358581ab8e63df6d68e53ff346191d5869bacec;p=esp-idf heap: Compile heap_task_info.c conditionally on CONFIG_HEAP_TASK_TRACKING in heap CMakeLists.txt Merges https://github.com/espressif/esp-idf/pull/2498 --- diff --git a/components/heap/CMakeLists.txt b/components/heap/CMakeLists.txt index 6492aefd51..073635b7a5 100644 --- a/components/heap/CMakeLists.txt +++ b/components/heap/CMakeLists.txt @@ -7,6 +7,10 @@ if(NOT CONFIG_HEAP_POISONING_DISABLED) list(APPEND COMPONENT_SRCS "multi_heap_poisoning.c") endif() +if(CONFIG_HEAP_TASK_TRACKING) + list(APPEND COMPONENT_SRCS "heap_task_info.c") +endif() + set(COMPONENT_ADD_INCLUDEDIRS "include") set(COMPONENT_REQUIRES "")