You can use other build systems or implement your own build system to prepare the solution's boot image.
To prepare the solution's boot image, the build system must include the following actions:
Use the NK compiler for this purpose. In command arguments, relay the path to the files containing EDL-, CDL- and IDL descriptions of entities, components and interfaces.
To do so, use the cross compilers that are included in KasperskyOS Community Edition.
Use the einit tool to generate the code of the Einit entity. In the command arguments, pass the path to the init description file (init.yaml
by default).
Then the Einit
entity must be built using the C compiler that is provided in KasperskyOS Community Edition.
To do so, use the makekss script. In the command arguments, relay the path to the security configuration file (security.psl
by default).
To do so, use the makeimg script. In the command arguments, pass the executable ELF files of entities, the kernel module with Kaspersky Security System, the KasperskyOS kernel image, and any additional files.