Lines Matching +full:- +full:- +full:build +full:- +full:only
1 .. zephyr:code-sample:: llext-edk
3 :relevant-api: llext_apis
26 providing some level of isolation - although the kernel one still has access
29 Note that the kernel extension is only available when the EDK is built with
33 The application is built using the Zephyr build system. The EDK is built using
34 the Zephyr build system as well, via ``llext-edk`` target. The EDK is then
38 during build time, which is not really practical. This sample is about the EDK
39 providing the ability to build extensions independently from the application.
40 One could build the extensions in different directories, not related to the
41 Zephyr application - even on different machines, using only the EDK. At the
48 To build the EDK, use the ``llext-edk`` target. For example:
50 .. zephyr-app-commands::
51 :zephyr-app: samples/subsys/llext/edk/app
53 :goals: build llext-edk
54 :west-args: -p=always
59 .. code-block:: console
62 cp build/zephyr/llext-edk.tar.xz /tmp/edk
64 tar -xf llext-edk.tar.xz
68 .. code-block:: console
70 export LLEXT_EDK_INSTALL_DIR=/tmp/edk/llext-edk
80 .. code-block:: console
82 export ZEPHYR_SDK_INSTALL_DIR=</path/to/zephyr-sdk>
84 To build the extensions, in the ``ext1``, ``ext2``, ``ext3`` and ``kext1``
87 .. code-block:: console
89 cmake -B build
90 make -C build
95 .. code-block:: console
97 cmake -B build -DLLEXT_EDK_INSTALL_DIR=/tmp/edk/llext-edk
98 make -C build
103 Now, build the application, including the extensions, and run it:
105 .. zephyr-app-commands::
106 :zephyr-app: samples/subsys/llext/edk/app
108 :goals: build run
109 :west-args: -p=always
114 .. code-block:: console
119 [k-ext1]Waiting sem
121 [k-ext1]Waiting event
133 [k-ext1]Got event, giving sem
134 [k-ext1]Got sem, reading channel
135 [k-ext1]Read val: 0
136 [k-ext1]Waiting sem