zwischenstand
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
if(CONFIG_FS_MGMT)
|
||||
if(CONFIG_FW_MGMT)
|
||||
zephyr_library()
|
||||
zephyr_library_sources(src/fs_mgmt.c)
|
||||
zephyr_library_sources(src/fw_mgmt.c)
|
||||
zephyr_include_directories(include)
|
||||
|
||||
if(CONFIG_FILE_SYSTEM_LITTLEFS)
|
||||
if(DEFINED ZEPHYR_LITTLEFS_MODULE_DIR)
|
||||
zephyr_include_directories(${ZEPHYR_LITTLEFS_MODULE_DIR})
|
||||
elseif(DEFINED WEST_TOPDIR)
|
||||
zephyr_include_directories(${WEST_TOPDIR}/modules/fs/littlefs)
|
||||
if(CONFIG_MCUBOOT_IMG_MANAGER)
|
||||
# img_mgmt.h pulls in <bootutil/image.h> and <zcbor_common.h>
|
||||
if(DEFINED ZEPHYR_MCUBOOT_MODULE_DIR)
|
||||
zephyr_include_directories(${ZEPHYR_MCUBOOT_MODULE_DIR}/boot/bootutil/include)
|
||||
zephyr_include_directories(${ZEPHYR_MCUBOOT_MODULE_DIR}/boot/zephyr/include)
|
||||
endif()
|
||||
|
||||
if(DEFINED ZEPHYR_BASE)
|
||||
zephyr_include_directories(${ZEPHYR_BASE}/modules/littlefs)
|
||||
if(DEFINED ZEPHYR_ZCBOR_MODULE_DIR)
|
||||
zephyr_include_directories(${ZEPHYR_ZCBOR_MODULE_DIR}/include)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
Reference in New Issue
Block a user