mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 23:18:21 +00:00
recipes related to mlibc and a hello world init
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
name=cxxshim
|
||||
from_source=cxxshim
|
||||
revision=1
|
||||
hostdeps="xgcc xbinutils"
|
||||
imagedeps="meson ninja base-devel"
|
||||
|
||||
|
||||
configure() {
|
||||
meson --cross-file ${base_dir}/util/crossfile --prefix=${prefix} -Dinstall_headers=true ${source_dir}
|
||||
}
|
||||
|
||||
build() {
|
||||
ninja
|
||||
}
|
||||
|
||||
install() {
|
||||
DESTDIR=${dest_dir} ninja install
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
name=frigg
|
||||
from_source=frigg
|
||||
revision=1
|
||||
hostdeps="xgcc xbinutils"
|
||||
imagedeps="meson ninja base-devel"
|
||||
|
||||
configure() {
|
||||
meson --cross-file ${base_dir}/util/crossfile --prefix=${prefix} -Dbuild_tests=disabled ${source_dir}
|
||||
}
|
||||
|
||||
build() {
|
||||
ninja
|
||||
}
|
||||
|
||||
install() {
|
||||
DESTDIR=${dest_dir} ninja install
|
||||
}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
name=init
|
||||
revision=1
|
||||
from_source=init
|
||||
imagedeps="base-devel"
|
||||
hostdeps="xbinutils xgcc"
|
||||
deps="mlibc"
|
||||
|
||||
configure() {
|
||||
true
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
make -C ${source_dir} -j ${parallelism}
|
||||
|
||||
}
|
||||
|
||||
install() {
|
||||
|
||||
make -C ${source_dir} install DESTDIR=${dest_dir}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
name=mlibc
|
||||
from_source=mlibc
|
||||
revision=1
|
||||
hostdeps="xgcc xbinutils pkgconfig"
|
||||
deps="cxxshim frigg linux-headers"
|
||||
imagedeps="meson ninja git base-devel binutils"
|
||||
|
||||
configure() {
|
||||
meson --cross-file ${base_dir}/util/crossfile -Dlinux_kernel_headers=${sysroot_dir}/${prefix}/include --prefix=${prefix} ${source_dir}
|
||||
}
|
||||
|
||||
build() {
|
||||
ninja
|
||||
}
|
||||
|
||||
install() {
|
||||
DESTDIR=${dest_dir} ninja install
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user