kernel: use mpaland printf

This commit is contained in:
Matheus
2023-04-08 13:59:37 -03:00
parent ec9e498814
commit d8141261cb
8 changed files with 48 additions and 7 deletions
+7
View File
@@ -2,7 +2,14 @@ name=astral
version=0
source_dir="kernel-src"
allow_network="yes"
imagedeps="wget"
regenerate() {
curl https://raw.githubusercontent.com/limine-bootloader/limine/trunk/limine.h > include/limine.h
pushd /tmp/
wget https://github.com/mpaland/printf/archive/refs/tags/v4.0.0.tar.gz
tar -xf v4.0.0.tar.gz
popd
cp /tmp/printf-4.0.0/printf.c io/printf.c
cp /tmp/printf-4.0.0/printf.h include/printf.h
}