Skip to content

Commit 12b4ecb

Browse files
committed
modules/mcuboot: Fix CMakeLists.txt formatting
Replace tabs with spaces. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
1 parent 25a4b65 commit 12b4ecb

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

modules/mcuboot/hooks/CMakeLists.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ if(CONFIG_BOOT_IMAGE_ACCESS_HOOKS)
1010
zephyr_library_sources(nrf53_hooks.c)
1111
zephyr_library_link_libraries(MCUBOOT_BOOTUTIL)
1212

13-
if(NOT CONFIG_PARTITION_MANAGER_ENABLED)
14-
# Read s0 address from b0n image
15-
if(NOT TARGET b0n_target)
16-
add_custom_target(b0n_target)
17-
zephyr_dt_import(EDT_PICKLE_FILE ${CMAKE_BINARY_DIR}/../b0n/zephyr/edt.pickle TARGET b0n_target)
18-
endif()
13+
if(NOT CONFIG_PARTITION_MANAGER_ENABLED)
14+
# Read s0 address from b0n image
15+
if(NOT TARGET b0n_target)
16+
add_custom_target(b0n_target)
17+
zephyr_dt_import(EDT_PICKLE_FILE ${CMAKE_BINARY_DIR}/../b0n/zephyr/edt.pickle TARGET b0n_target)
18+
endif()
1919

20-
dt_nodelabel(s0_partition_path NODELABEL s0_partition REQUIRED TARGET b0n_target)
21-
dt_reg_addr(s0_partition_address PATH ${s0_partition_path} TARGET b0n_target)
22-
dt_reg_size(s0_partition_size PATH ${s0_partition_path} TARGET b0n_target)
23-
zephyr_library_compile_options("-DPCD_NET_CORE_APP_ADDRESS=${s0_partition_address}")
24-
zephyr_library_compile_options("-DPCD_NET_CORE_APP_SIZE=${s0_partition_size}")
25-
endif()
20+
dt_nodelabel(s0_partition_path NODELABEL s0_partition REQUIRED TARGET b0n_target)
21+
dt_reg_addr(s0_partition_address PATH ${s0_partition_path} TARGET b0n_target)
22+
dt_reg_size(s0_partition_size PATH ${s0_partition_path} TARGET b0n_target)
23+
zephyr_library_compile_options("-DPCD_NET_CORE_APP_ADDRESS=${s0_partition_address}")
24+
zephyr_library_compile_options("-DPCD_NET_CORE_APP_SIZE=${s0_partition_size}")
25+
endif()
2626
endif()
2727
endif()
2828

0 commit comments

Comments
 (0)