diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-12-06 15:31:07 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-12-06 15:31:07 +0200 |
commit | ccec4ee7ad1efe3cc794945cd172eb820046a543 (patch) | |
tree | 30166e4c34465197ecd14a710fc9a85cd31c5c2b | |
parent | ca8034d6b888952dfb4401b867f5682ac683b5ff (diff) |
zephyr/CMakeLists.txt: Update for latest Zephyr buildsys changes.
-rw-r--r-- | ports/zephyr/CMakeLists.txt | 8 | ||||
-rw-r--r-- | ports/zephyr/Makefile | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ports/zephyr/CMakeLists.txt b/ports/zephyr/CMakeLists.txt index cd7eda227..b360a711d 100644 --- a/ports/zephyr/CMakeLists.txt +++ b/ports/zephyr/CMakeLists.txt @@ -7,10 +7,10 @@ add_library(libmicropython STATIC IMPORTED) set_target_properties(libmicropython PROPERTIES IMPORTED_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/libmicropython.a) target_link_libraries(app libmicropython) -zephyr_get_include_directories_as_string(includes) -zephyr_get_system_include_directories_as_string(system_includes) -zephyr_get_compile_definitions_as_string(definitions) -zephyr_get_compile_options_as_string(options) +zephyr_get_include_directories_for_lang_as_string(C includes) +zephyr_get_system_include_directories_for_lang_as_string(C system_includes) +zephyr_get_compile_definitions_for_lang_as_string(C definitions) +zephyr_get_compile_options_for_lang_as_string(C options) add_custom_target( outputexports diff --git a/ports/zephyr/Makefile b/ports/zephyr/Makefile index d6d711d1c..2064fcef7 100644 --- a/ports/zephyr/Makefile +++ b/ports/zephyr/Makefile @@ -105,4 +105,4 @@ outdir/$(BOARD)/Makefile: $(CONF_FILE) $(Z_EXPORTS): outdir/$(BOARD)/Makefile make --no-print-directory -C outdir/$(BOARD) outputexports CMAKE_COMMAND=: >$@ - make -C outdir/$(BOARD) syscall_macros_h_target + make -C outdir/$(BOARD) syscall_macros_h_target syscall_list_h_target |