mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
initial commit
This commit is contained in:
@@ -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"
|
||||
}
|
||||
@@ -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}/
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user