Please sign in to comment.
cmake: Toolchain abstraction: Introducing macro toolchain_cc_nocommon
The macro is intended to abstract the -fno-common compiler option which controls the placement of uninitialized global variables. The macro leaves it up to the toolchain to define the option. The intent here is to abstract Zephyr's dependence on toolchains, thus allowing for easier porting to other, perhaps commercial, toolchains and/or usecases. No functional change expected. Signed-off-by: Danny Oerndrup <email@example.com>
- Loading branch information...
Showing with 21 additions and 1 deletion.
|@@ -0,0 +1,14 @@|
|# SPDX-License-Identifier: Apache-2.0|
|# The intention with this file is, to have a common placeholder for macros|
|# which does not fit into any of the categories defined by the existing|
|# target_xxx.cmake files and which have a fairly high commonality between|
|# See root CMakeLists.txt for description and expectations of this macro|