initial commit

This commit is contained in:
Matheus
2023-04-08 01:11:30 -03:00
commit df84704797
29 changed files with 1646 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
name=astral
revision=1
from_source=astral
imagedeps="base-devel nasm"
hostdeps="xgcc xbinutils limine"
configure() {
cp -pr "${source_dir}"/* .
}
build() {
CC="x86_64-astral-gcc" LD="x86_64-astral-gcc" AS="nasm" make -j${parallelism}
}
install() {
mkdir -p "${dest_dir}/boot"
cp astral "${dest_dir}/boot"
}
+16
View File
@@ -0,0 +1,16 @@
name=linux-headers
from_source=linux
revision=1
imagedeps="base-devel rsync"
configure() {
cp -r ${source_dir}/* .
}
build() {
true
}
install() {
make headers_install ARCH=x86_64 INSTALL_HDR_PATH=${dest_dir}/${prefix}/
}
+19
View File
@@ -0,0 +1,19 @@
name=mlibc-headers
from_source=mlibc
revision=1
deps="linux-headers"
imagedeps="ninja meson base-devel"
configure() {
meson --cross-file "${base_dir}/util/crossfile" --prefix="${prefix}" -Dlinux_kernel_headers="${sysroot}/${prefix}" -Dheaders_only=true "${source_dir}"
}
build() {
ninja
}
install() {
DESTDIR=${dest_dir} ninja install
}