File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -258,23 +258,7 @@ else() # NOT FIRST_BOILERPLATE_EXECUTION
258258
259259 # Have the child image select the same BOARD that was selected by
260260 # the parent.
261- # Unless parent was "ns" in which case we assume that the child images are
262- # all secure, and should be build using the secure version of the board.
263- # It is assumed that only the root app will be built as non-secure.
264- # This is not a valid assumption as there might be multiple non-secure
265- # images defined. With this technique, it is not possible to have multiple
266- # images defined as non-secure.
267- # TODO: Allow multiple non-secure images by using Kconfig to set the
268- # secure/non-secure property rather than using a separate board definition.
269- if (${BOARD} STREQUAL nrf9160_pca10090ns)
270- set (BOARD nrf9160_pca10090)
271- message ("Changed board to secure nrf9160_pca10090 (NOT NS)" )
272- endif ()
273-
274- if (${BOARD} STREQUAL nrf9160_pca20035ns)
275- set (BOARD nrf9160_pca20035)
276- message ("Changed board to secure nrf9160_pca20035 (NOT NS)" )
277- endif ()
261+ set (BOARD ${CACHED_BOARD} )
278262
279263 unset (${IMAGE} DTC_OVERLAY_FILE)
280264 if (EXISTS ${APPLICATION_SOURCE_DIR} /${BOARD} .overlay)
You can’t perform that action at this time.
0 commit comments