-
Notifications
You must be signed in to change notification settings - Fork 3k
Remove multiply defined symbol from kvstore/securestore/mbed_lib.json #13312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove multiply defined symbol from kvstore/securestore/mbed_lib.json #13312
Conversation
This reverts commit 2e4cd86.
This reverts commit 97632f2.
function that checks TARGET_ keywords and if dir exists, it adds it to the path
creating util cmake to write up some functions we can use Our current build system has some rules like TARGET_/FEATURE_ to select what is needed. We provide mbed_os_add_cmake_directory function that does the same trick. If you have: TARGET_ST/ TARGET_NXP add CMakeLists.txt here and use this function to select proper target CMake inside these folders. mbed_os_add_cmake_directory(TARGET, "${MBED_OS_TARGET_KEYS}") This means, in this folder the selection is conditional based on TARGET and it checks TARGET_KEYS - they come from tools
CMake's _add_definitions() command requires each define begin with a -D or /D. Add -D to all definitions we want to add.
CMake's _add_definitions() command requires each define begin with a -D or /D. Add -D to all definitions we want to add.
Some parts of Mbed OS inspect "TOOLCHAIN_*" type macros. Add these defines to the per-toolchain files.
@rwalton-arm, thank you for your changes. |
We need config generation as part of the export, thus need to use tools from now on. Blinky was already updated.
CMake: Fix travis using tools
Use PR merge and check out it.
CMake: Fix travis checkout branch
58ea2eb
to
e895e21
Compare
11c243b
to
f51723c
Compare
ade9959
to
03449e9
Compare
This PR cannot be merged due to conflicts. Please rebase to resolve them. |
@rwalton-arm isn't this an issue on master where it should be fixed or only cmake branch? |
Yes, that's why I closed the PR. I'm raising a PR against master. |
Superseded by #13330 |
Summary of changes
MBEDTLS_CMAC_C
already seems to be defined in https://github.com/ARMmbed/mbed-os/blob/master/features/mbedtls/inc/mbedtls/config.h#L2416 - this was causing warnings in CMake builds about multiple defined symbols.This patch removes the macro from the mbed_lib.json as it seems to be unnecessary.
Impact of changes
Migration actions required
Documentation
None
Pull request type
Test results
Reviewers