WKern
|
Defines file organization and module structure for the build system. More...
Go to the source code of this file.
Namespaces | |
namespace | files |
Variables | |
list | files.SRCS |
list | files.NASMSRCS |
dict | files.MODULES |
list | files.OBJS = [f"objs/modules/{mod}.o" for mod in MODULES] |
str | files.OUT = "kernel.elf" |
str | files.OUTARG = "iso/boot/" + OUT |
str | files.ISO = "mykern.iso" |
str | files.GRUBCFG = "grub/grub.cfg" |
str | files.GRUBCFGTARG = "iso/boot/" + GRUBCFG |
list | files.HEADS |
list | files.CLEANTARGS = [*OBJS, ISO, OUTARG, OUT, GRUBCFGTARG, "didconf", *glob.glob("objs/**/*.o", recursive=True) ] |
Defines file organization and module structure for the build system.
This file contains lists of source files (C and ASM), grouped into modules. It also defines output targets, build metadata, and clean targets used by other parts of the build system.
The build system uses this file to:
This file is imported by other scripts such as build.py, brules.py, and frules.py to control compilation, linking, and packaging.
Definition in file files.py.