zephyr/cmake
Torsten Rasmussen f0fa7b850c cmake: zephyr_library_amend feature
This commit introduces the cmake extension zephyr_library_amend.

This function allows for adding files in an out-of-tree Zephyr module
to a zephyr library created in zephyr repo CMake files.

As example:
drivers/entropy/CMakeLists.txt creates an zephyr library as:
zephyr_library()
only available to zephyr itself.

The amend function allows to amend to such a lib, by creating a
CMakeLists.txt file following identical folder structure in a Zephyr
Module:
<zephyr_module_oot>/drivers/entropy/CMakeLists.txt
zephyr_library_amend()
zephyr_library_sources() # Sources are amended to the original library

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2019-10-21 17:44:08 +02:00
..
app cmake: add app boards subdir as search location for board overlay files 2019-10-01 20:38:24 -07:00
backports
bintools cmake: Toolchain abstraction: Abstraction of binary tool, strip. 2019-08-02 13:05:59 +02:00
compiler cmake: toolchain abstraction for undefined behaviour sanitizer 2019-10-07 15:00:20 +02:00
emu qemu_x86_long: don't munge to elf32 in-place 2019-10-19 12:08:00 -07:00
flash cmake: delete obsolete deprecation checks 2019-06-07 13:43:51 +02:00
ide
linker/ld target_relocation.cmake: fix spell typo 2019-07-18 11:09:48 -04:00
reports
toolchain cmake: check sdk_version format 2019-09-19 08:16:19 -04:00
usage
util
boards.cmake
ccache.cmake
cfb.cmake generated/cfb_font_dice.h: don't leak absolute paths in comment 2019-06-19 08:40:59 -04:00
dts.cmake cmake: dts: Fix (harmless) --bindings-dirs typo 2019-09-25 06:11:26 -04:00
extensions.cmake cmake: zephyr_library_amend feature 2019-10-21 17:44:08 +02:00
extra_flags.cmake
gcc-m-cpu.cmake arch: arm: Add Cortex-R5 support 2019-08-09 22:50:50 +02:00
generic_toolchain.cmake cmake: Toolchain abstraction: Abstraction of binary tools, foundation. 2019-07-31 11:09:35 +02:00
git.cmake cmake: explain BUILD_VERSION and KERNEL_VERSION_* 2019-05-09 11:52:05 +02:00
hex.cmake
host-tools.cmake west: require v0.6.0 or higher 2019-08-05 15:17:45 +02:00
kconfig.cmake cmake: Fix bug where DTS_BINDINGS_DIRS could only have one entry 2019-10-01 10:35:23 -07:00
kobj.cmake cmake: Fix missing dependency 2019-05-16 07:47:18 -05:00
pristine.cmake
python.cmake cmake: Instruct Python to use UTF-8 on Windows 2019-07-26 12:00:45 +02:00
target_toolchain.cmake cmake: Toolchain abstraction: Abstraction of binary tools, foundation. 2019-07-31 11:09:35 +02:00
version.cmake cmake: explain BUILD_VERSION and KERNEL_VERSION_* 2019-05-09 11:52:05 +02:00
zephyr_module.cmake cmake: zephyr_modules: Add west executable argument 2019-05-03 14:23:09 -04:00