zephyr/CMakeLists.txt: Update for latest Zephyr buildsys changes.
This commit is contained in:
parent
ca8034d6b8
commit
ccec4ee7ad
|
@ -7,10 +7,10 @@ add_library(libmicropython STATIC IMPORTED)
|
||||||
set_target_properties(libmicropython PROPERTIES IMPORTED_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/libmicropython.a)
|
set_target_properties(libmicropython PROPERTIES IMPORTED_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/libmicropython.a)
|
||||||
target_link_libraries(app libmicropython)
|
target_link_libraries(app libmicropython)
|
||||||
|
|
||||||
zephyr_get_include_directories_as_string(includes)
|
zephyr_get_include_directories_for_lang_as_string(C includes)
|
||||||
zephyr_get_system_include_directories_as_string(system_includes)
|
zephyr_get_system_include_directories_for_lang_as_string(C system_includes)
|
||||||
zephyr_get_compile_definitions_as_string(definitions)
|
zephyr_get_compile_definitions_for_lang_as_string(C definitions)
|
||||||
zephyr_get_compile_options_as_string(options)
|
zephyr_get_compile_options_for_lang_as_string(C options)
|
||||||
|
|
||||||
add_custom_target(
|
add_custom_target(
|
||||||
outputexports
|
outputexports
|
||||||
|
|
|
@ -105,4 +105,4 @@ outdir/$(BOARD)/Makefile: $(CONF_FILE)
|
||||||
|
|
||||||
$(Z_EXPORTS): outdir/$(BOARD)/Makefile
|
$(Z_EXPORTS): outdir/$(BOARD)/Makefile
|
||||||
make --no-print-directory -C outdir/$(BOARD) outputexports CMAKE_COMMAND=: >$@
|
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
|
||||||
|
|
Loading…
Reference in New Issue