Move kernel to cookbook recipe

This commit is contained in:
Jeremy Soller 2022-07-24 09:02:48 -06:00
parent c475f1a17d
commit 5b0822f893
No known key found for this signature in database
GPG key ID: E988B49EE78A7FB1
17 changed files with 21 additions and 56 deletions

View file

@ -16,8 +16,6 @@ clean:
cd cookbook && ./clean.sh
cargo clean --manifest-path cookbook/pkgutils/Cargo.toml
cargo clean --manifest-path installer/Cargo.toml
cargo clean --manifest-path kernel/Cargo.toml
cargo clean --manifest-path kernel/syscall/Cargo.toml
cargo clean --manifest-path redoxfs/Cargo.toml
-$(FUMOUNT) build/filesystem/ || true
rm -rf build
@ -37,7 +35,6 @@ update:
"$$(cargo run --manifest-path ../installer/Cargo.toml -- --list-packages -c ../filesystem.toml)"
cargo update --manifest-path cookbook/pkgutils/Cargo.toml
cargo update --manifest-path installer/Cargo.toml
cargo update --manifest-path kernel/Cargo.toml
cargo update --manifest-path redoxfs/Cargo.toml
fetch:
@ -52,9 +49,6 @@ include mk/prefix.mk
# Bootloader recipes
include mk/bootloader.mk
# Kernel recipes
include mk/kernel.mk
# Filesystem recipes
include mk/initfs.mk
include mk/filesystem.mk
@ -111,7 +105,7 @@ env: prefix FORCE
bash
gdb: FORCE
gdb build/kernel.sym --eval-command="target remote localhost:1234"
gdb cookbook/recipes/kernel/build/kernel.sym --eval-command="target remote localhost:1234"
# An empty target
FORCE: