foundry
Foundry OS: the operating system built on the Rustbelt kernel
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | # Foundry OS -- the single entry point. `make help` lists the targets.
#
# Everything generated goes to out/ (git-ignored); `make clean` removes it.
# Downloads (musl source etc.) go to cache/ (git-ignored, SHA256-checked).
include config.mk
OUT := $(CURDIR)/out
IMAGE := $(OUT)/$(IMAGE_NAME)
STAGING := $(OUT)/staging
RUST_OUT := $(OUT)/rust-target/x86_64-unknown-none/release
FIXTURES := $(OUT)/fixtures
KSRC := $(OUT)/kernel-src
KTARGET := $(OUT)/kernel-target
KBOOT := $(OUT)/kernel/bootimage.bin
KBOOT_HL := $(OUT)/kernel/bootimage-headless.bin
.DEFAULT_GOAL := image
:
:
# ---- the pinned kernel -------------------------------------------------------
:
:
# ---- programs ---------------------------------------------------------------
:
: # ---- the image ---------------------------------------------------------------
# Contract v1: rootfs/ minus etc/ (etc/ is for the contract-v2 ext2 root,
# see docs/plan.md) goes to the top of the FAT32 volume, programs to /bin.
: : # ---- booting ----------------------------------------------------------------
: : : # ---- toolchain (M2 groundwork; not used by the v1 image) ---------------------
:
:
: |