Lines Matching +full:llext +full:- +full:edk
3 # SPDX-License-Identifier: Apache-2.0
30 # Can we build the edk?
34 "-b",
36 "-t",
37 "llext-edk",
38 "--build-dir",
44 # Install the edk to a temporary location
46 # Copy the edk to the temporary directory using python methods
47 logger.debug(f"Copying llext-edk.tar.xz to {tempdir}")
48 edk_path = Path(unlaunched_dut.device_config.build_dir) / "zephyr/llext-edk.tar.xz"
51 # Extract the edk using tar
52 logger.debug(f"Extracting llext-edk.tar.xz to {tempdir}")
53 command = ["tar", "-xf", "llext-edk.tar.xz"]
60 ext_dir = Path(os.environ["ZEPHYR_BASE"]) / "tests/misc/llext-edk/extension"
70 # knows where the EDK is installed
71 edk_dir = Path(tempdir) / "llext-edk"
76 # Build the extension using the edk
77 logger.debug(f"Building extension in {tempdir_extension} - cmake")
78 command = ["cmake", "-B", "build"]
82 logger.debug(f"Building extension in {tempdir_extension} - make")
83 command = ["make", "-C", "build"]
88 assert os.path.exists(Path(tempdir_extension) / "build/extension.llext")
93 logger.debug(f"Running application with extension in {tempdir_extension} - west build")
97 "-b",
99 "--build-dir",
101 "--",
102 f"-DEXTENSION_DIR={tempdir_extension}/build/",