mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-27 13:18:35 +00:00
![sin](/assets/img/avatar_default.png)
Also rename pkgs/arch-rootfs to pkgs/emul. The create-bootable script still needs to be fixed to work with dash.
19 lines
264 B
Plaintext
19 lines
264 B
Plaintext
url=git://git.2f30.org/sbase
|
|
|
|
fetch() {
|
|
[ -d src/sbase ] || git clone $url src/sbase
|
|
}
|
|
|
|
build() {
|
|
cd src/sbase
|
|
make clean
|
|
make -j$nprocs CC=x86_64-linux-musl-gcc LDFLAGS=-static || return 1
|
|
cd -
|
|
}
|
|
|
|
install() {
|
|
cd src/sbase
|
|
make PREFIX=$root install
|
|
cd -
|
|
}
|