mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
fetch flanterm
This commit is contained in:
@@ -11,3 +11,4 @@ astral.iso
|
|||||||
kernel-src/include/limine.h
|
kernel-src/include/limine.h
|
||||||
kernel-src/include/printf.h
|
kernel-src/include/printf.h
|
||||||
kernel-src/io/printf.c
|
kernel-src/io/printf.c
|
||||||
|
kernel-src/flanterm
|
||||||
|
|||||||
@@ -3,13 +3,17 @@ version=0
|
|||||||
source_dir="kernel-src"
|
source_dir="kernel-src"
|
||||||
allow_network="yes"
|
allow_network="yes"
|
||||||
imagedeps="wget"
|
imagedeps="wget"
|
||||||
|
flanterm_commit="f95f5584fb87577908beff8cbe0f68fee8940517"
|
||||||
|
|
||||||
regenerate() {
|
regenerate() {
|
||||||
curl https://raw.githubusercontent.com/limine-bootloader/limine/trunk/limine.h > include/limine.h
|
curl https://raw.githubusercontent.com/limine-bootloader/limine/trunk/limine.h > include/limine.h
|
||||||
pushd /tmp/
|
pushd /tmp/
|
||||||
wget https://github.com/mpaland/printf/archive/refs/tags/v4.0.0.tar.gz
|
wget https://github.com/mpaland/printf/archive/refs/tags/v4.0.0.tar.gz
|
||||||
tar -xf v4.0.0.tar.gz
|
tar -xf v4.0.0.tar.gz
|
||||||
|
wget https://github.com/mintsuki/flanterm/archive/${flanterm_commit}.tar.gz
|
||||||
|
tar -xf ${flanterm_commit}.tar.gz
|
||||||
popd
|
popd
|
||||||
cp /tmp/printf-4.0.0/printf.c io/printf.c
|
cp /tmp/printf-4.0.0/printf.c io/printf.c
|
||||||
cp /tmp/printf-4.0.0/printf.h include/printf.h
|
cp /tmp/printf-4.0.0/printf.h include/printf.h
|
||||||
|
cp -r /tmp/flanterm-${flanterm_commit} flanterm
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user