Skip to content

[SUBISSUE #3] Add drivers/ddk.mk, Strict Compiler Isolation, and make export-ddk #252

Done

Description

@marcobuschini

Parent issue: #72

Scope

Create drivers/ddk.mk and integrate modular driver builds into Makefile:

  • drivers/ddk.mk passes -I$(MILO_DDK_DIR)/include and strictly omits -Ikernel and -Iarch/... so any internal kernel header include fails at compile time.
  • Integrate drivers/ddk.mk into Makefile (in-tree driver object/archive linking, format, format-check, license-check, compile_commands.json / lint-report).
  • Add make export-ddk target packaging include/ddk/ and ddk.mk into build/ddk/.

Acceptance Criteria

  • Driver translation units cannot include kernel/ or arch/ headers.
  • make export-ddk produces a self-contained SDK in build/ddk/ consumable via MILO_DDK_DIR=build/ddk.
  • make format && make all && make quality passes with zero warnings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

subissue

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions