Skip to content

Commit

Permalink
cmake: remove deprecation_warnings.cmake
Browse files Browse the repository at this point in the history
With support for deprecating Kconfig symbols within the Kconfig tree
itself, there is no reason to have a secondary location to maintain
for information that is based on a Kconfig setting in first place.

Better to directly do `select DEPRECATED` on the symbol itself, than to
maintain a secondary list with messages in CMake.

Hence removing this feature in CMake.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
  • Loading branch information
tejlmand authored and galak committed Jul 15, 2022
1 parent 6066ab4 commit 39a7381
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1852,8 +1852,6 @@ if(CONFIG_SOC_DEPRECATED_RELEASE)
)
endif()

include(modules/deprecation_warnings.cmake)

# In CMake projects, 'CMAKE_BUILD_TYPE' usually determines the
# optimization flag, but in Zephyr it is determined through
# Kconfig. Here we give a warning when there is a mismatch between the
Expand Down
14 changes: 0 additions & 14 deletions modules/deprecation_warnings.cmake

This file was deleted.

0 comments on commit 39a7381

Please sign in to comment.