Lines Matching +full:a +full:- +full:za +full:- +full:z0 +full:- +full:9 +full:_

2 # SPDX-License-Identifier: Apache-2.0
4 # This script generates a tarball containing all headers and flags necessary to
6 # INTERFACE_INCLUDE_DIRECTORIES and generating a Makefile.cflags file (and a
10 # all necessary headers and flags. File paths are made relative to a few key
15 # - llext_edk_name: Name of the extension, used to name the tarball and the
17 # - INTERFACE_INCLUDE_DIRECTORIES: List of include directories to copy headers
20 # - llext_edk_file: Output file name for the tarball.
21 # - llext_edk_cflags: Flags to be used for source compile commands.
22 # - ZEPHYR_BASE: Path to the zephyr base directory.
23 # - WEST_TOPDIR: Path to the west top directory.
24 # - APPLICATION_SOURCE_DIR: Path to the application source directory.
25 # - PROJECT_BINARY_DIR: Path to the project binary build directory.
26 # - CONFIG_LLEXT_EDK_USERSPACE_ONLY: Whether to copy syscall headers from the
44 # Helper function to generate relative paths to a few key directories
61 # <install-dir>/include/zephyr/include/generated, files coming from zephyr base at
62 # <install-dir>/include/zephyr/include, files from west top dir (for instance, hal modules),
63 # at <install-dir>/include and application ones at <install-dir>/include/<application-dir>.
65 # at <install-dir>/include/<full-path-to-external-include>, so we avoid any external lib
92 string(REGEX REPLACE "[^a-zA-Z0-9]" "_" llext_edk_name_sane ${llext_edk_name})
100 if (flag STREQUAL "-imacros")
109 list(APPEND imacros_gen_make "-imacros\$(${install_dir_var})/${dest_rel}/${name}")
110 list(APPEND imacros_gen_cmake "-imacros\${CMAKE_CURRENT_LIST_DIR}/${dest_rel}/${name}")
112 list(APPEND imacros_make "-imacros\$(${install_dir_var})/${dest_rel}/${name}")
113 list(APPEND imacros_cmake "-imacros\${CMAKE_CURRENT_LIST_DIR}/${dest_rel}/${name}")
140 list(APPEND inc_gen_flags_make "-I\$(${install_dir_var})/${dest_rel}")
141 list(APPEND inc_gen_flags_cmake "-I\${CMAKE_CURRENT_LIST_DIR}/${dest_rel}")
143 list(APPEND inc_flags_make "-I\$(${install_dir_var})/${dest_rel}")
144 list(APPEND inc_flags_cmake "-I\${CMAKE_CURRENT_LIST_DIR}/${dest_rel}")
146 list(APPEND all_inc_flags_make "-I\$(${install_dir_var})/${dest_rel}")
147 list(APPEND all_inc_flags_cmake "-I\${CMAKE_CURRENT_LIST_DIR}/${dest_rel}")