@@ -96,7 +96,6 @@ set(OFFSETS_H_TARGET offsets_h)
96
96
set (SYSCALL_LIST_H_TARGET syscall_list_h_target)
97
97
set (DRIVER_VALIDATION_H_TARGET driver_validation_h_target)
98
98
set (KOBJ_TYPES_H_TARGET kobj_types_h_target)
99
- set (PARSE_SYSCALLS_TARGET parse_syscalls_target)
100
99
set (DEVICE_API_LD_TARGET device_api_ld_target)
101
100
102
101
define_property (GLOBAL PROPERTY PROPERTY_OUTPUT_FORMAT BRIEF_DOCS " " FULL_DOCS " " )
@@ -834,7 +833,7 @@ add_custom_command(
834
833
--file-list ${syscalls_file_list_output}
835
834
$<$<BOOL :${CONFIG_EMIT_ALL_SYSCALLS} >:--emit-all -syscalls>
836
835
DEPENDS ${syscalls_subdirs_trigger} ${PARSE_SYSCALLS_HEADER_DEPENDS}
837
- ${syscalls_file_list_output} ${ syscalls_interface}
836
+ ${syscalls_file_list_output} syscalls_interface
838
837
)
839
838
840
839
# Make sure Picolibc is built before the rest of the system; there's no explicit
@@ -852,12 +851,6 @@ set_property(TARGET ${SYSCALL_LIST_H_TARGET}
852
851
${CMAKE_CURRENT_BINARY_DIR} /include /generated /zephyr/syscalls
853
852
)
854
853
855
- add_custom_target (${PARSE_SYSCALLS_TARGET}
856
- DEPENDS
857
- ${syscalls_json}
858
- ${struct_tags_json}
859
- )
860
-
861
854
# 64-bit systems do not require special handling of 64-bit system call
862
855
# parameters or return values, indicate this to the system call boilerplate
863
856
# generation script.
@@ -900,7 +893,7 @@ add_custom_command(
900
893
COMMAND
901
894
${LEGACY_SYSCALL_LIST_H_ARGS}
902
895
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
903
- DEPENDS ${PARSE_SYSCALLS_TARGET }
896
+ DEPENDS ${syscalls_json }
904
897
)
905
898
906
899
include (${ZEPHYR_BASE} /cmake/kobj.cmake)
@@ -911,9 +904,13 @@ gen_kobject_list(
911
904
OUTPUTS ${DRV_VALIDATION}
912
905
SCRIPT_ARGS --validation-output ${DRV_VALIDATION}
913
906
INCLUDES ${struct_tags_json}
907
+ DEPENDS ${struct_tags_json}
914
908
)
915
909
916
- gen_kobject_list_headers(INCLUDES ${struct_tags_json} )
910
+ gen_kobject_list_headers(
911
+ INCLUDES ${struct_tags_json}
912
+ DEPENDS ${struct_tags_json}
913
+ )
917
914
918
915
# Generate sections for kernel device subsystems
919
916
set (
@@ -1270,6 +1267,7 @@ if(CONFIG_USERSPACE)
1270
1267
OUTPUT ${KOBJECT_PREBUILT_HASH_LIST}
1271
1268
KERNEL_TARGET ${ZEPHYR_LINK_STAGE_EXECUTABLE}
1272
1269
INCLUDES ${struct_tags_json}
1270
+ DEPENDS ${struct_tags_json}
1273
1271
)
1274
1272
1275
1273
add_custom_command (
@@ -1466,6 +1464,7 @@ if(CONFIG_USERSPACE)
1466
1464
OUTPUT ${KOBJECT_HASH_LIST}
1467
1465
KERNEL_TARGET ${ZEPHYR_LINK_STAGE_EXECUTABLE}
1468
1466
INCLUDES ${struct_tags_json}
1467
+ DEPENDS ${struct_tags_json}
1469
1468
)
1470
1469
1471
1470
# Use gperf to generate C code (KOBJECT_HASH_OUTPUT_SRC_PRE) which implements a
@@ -2298,7 +2297,7 @@ if(CONFIG_LLEXT_EDK)
2298
2297
${SYSCALL_SPLIT_TIMEOUT_ARG}
2299
2298
COMMAND ${CMAKE_COMMAND}
2300
2299
-P ${ZEPHYR_BASE} /cmake/llext-edk.cmake
2301
- DEPENDS ${logical_target_for_zephyr_elf} build_info_yaml_saved
2300
+ DEPENDS ${logical_target_for_zephyr_elf} ${syscalls_json} build_info_yaml_saved
2302
2301
COMMAND_EXPAND_LISTS
2303
2302
)
2304
2303
add_custom_target (llext-edk DEPENDS ${llext_edk_file} )
0 commit comments