WKern
Loading...
Searching...
No Matches
brules.py File Reference

Core build functions: compile, link, ISO creation. More...

Go to the source code of this file.

Namespaces

namespace  brules

Functions

 brules.compileasm ()
 Compiles all NASM assembly files in NASMSRCS.
 brules.compile_file (file)
 Compile a single C file if out of date.
 brules.compilec ()
 Compiles all C sources in parallel from SRCS.
 brules.partial_link ()
 Performs partial linking on modules from MODULES.
 brules.link ()
 Links the final kernel ELF binary from object files.
 brules.iso ()
 Generates a bootable ISO using GRUB and kernel ELF.

Detailed Description

Core build functions: compile, link, ISO creation.

This file includes logic for:

  • Compiling assembly and C sources
  • Partial linking of modules
  • Full kernel linking
  • ISO generation using GRUB

This is used by build.py to perform all low-level build operations.

Definition in file brules.py.