diff --git a/CMakeLists.txt b/CMakeLists.txt index e326f123646..d4dd40cf66f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2141,7 +2141,6 @@ add_custom_command( -DAPPLICATION_SOURCE_DIR=${APPLICATION_SOURCE_DIR} -DINTERFACE_INCLUDE_DIRECTORIES="$" -Dllext_edk_file=${llext_edk_file} - -DAUTOCONF_H=${AUTOCONF_H} -Dllext_cflags="${llext_edk_cflags}" -Dllext_edk_name=${CONFIG_LLEXT_EDK_NAME} -DWEST_TOPDIR=${WEST_TOPDIR} diff --git a/cmake/llext-edk.cmake b/cmake/llext-edk.cmake index 91b4b0ef9ac..8bd48a0b2fd 100644 --- a/cmake/llext-edk.cmake +++ b/cmake/llext-edk.cmake @@ -17,7 +17,6 @@ # - INTERFACE_INCLUDE_DIRECTORIES: List of include directories to copy headers # from. It should simply be the INTERFACE_INCLUDE_DIRECTORIES property of the # zephyr_interface target. -# - AUTOCONF_H: Name of the autoconf.h file, used to generate the imacros flag. # - llext_edk_file: Output file name for the tarball. # - llext_cflags: Additional flags to be added to the generated flags. # - ZEPHYR_BASE: Path to the zephyr base directory. @@ -120,9 +119,6 @@ endforeach() set(llext_cflags ${new_cflags}) -set(autoconf_h_edk ${llext_edk_inc}/${AUTOCONF_H}) -cmake_path(RELATIVE_PATH AUTOCONF_H BASE_DIRECTORY ${PROJECT_BINARY_DIR} OUTPUT_VARIABLE autoconf_h_rel) - list(APPEND base_flags_make ${llext_cflags} ${imacros_make}) list(APPEND base_flags_cmake ${llext_cflags} ${imacros_cmake})