cmake: remove deprecated GCCARMEMB_TOOLCHAIN_PATH

Remove deprecated GCCARMEMB_TOOLCHAIN_PATH.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
Torsten Rasmussen 2022-07-15 10:36:19 +02:00 committed by Carles Cufí
parent 90e236581e
commit 9913fd4f42
2 changed files with 2 additions and 8 deletions

View file

@ -1,13 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
# Until we completely deprecate it
if(NOT DEFINED ENV{GNUARMEMB_TOOLCHAIN_PATH})
if(DEFINED ENV{GCCARMEMB_TOOLCHAIN_PATH})
message(WARNING "GCCARMEMB_TOOLCHAIN_PATH is deprecated, please use GNUARMEMB_TOOLCHAIN_PATH instead")
set(GNUARMEMB_TOOLCHAIN_PATH $ENV{GCCARMEMB_TOOLCHAIN_PATH})
endif()
endif()
set_ifndef(GNUARMEMB_TOOLCHAIN_PATH "$ENV{GNUARMEMB_TOOLCHAIN_PATH}")
set( GNUARMEMB_TOOLCHAIN_PATH ${GNUARMEMB_TOOLCHAIN_PATH} CACHE PATH "gnuarmemb install directory")
assert( GNUARMEMB_TOOLCHAIN_PATH "GNUARMEMB_TOOLCHAIN_PATH is not set")

View file

@ -237,6 +237,8 @@ USB
Build System
************
* Removed deprecated ``GCCARMEMB_TOOLCHAIN_PATH`` setting
Devicetree
**********