mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
Update to bonnibel 2.1
This commit is contained in:
11
README.md
11
README.md
@@ -46,14 +46,19 @@ Requrirements:
|
||||
* bonnibel
|
||||
* ninja
|
||||
* clang
|
||||
* nasm
|
||||
* mtools
|
||||
* curl for downloading the toolchain
|
||||
|
||||
### Setting up the cross toolchain
|
||||
|
||||
If you have `clang` and `curl` installed, runing the `scripts/build_sysroot_clang.sh`
|
||||
script will download and build a nasm/binutils/LLVM toolchain configured for building
|
||||
jsix host binaries.
|
||||
Running `pb sync` will download and unpack the toolchain into `sysroot`.
|
||||
|
||||
#### Compiling the toolchain yourself
|
||||
|
||||
If you have `clang` and `curl` installed, runing the `scripts/build_sysroot.sh`
|
||||
script will download and build a LLVM toolchain configured for building jsix
|
||||
host binaries.
|
||||
|
||||
### Building and running jsix
|
||||
|
||||
|
||||
10
modules.yaml
10
modules.yaml
@@ -1,13 +1,10 @@
|
||||
name: jsix
|
||||
templates: scripts/templates
|
||||
vars:
|
||||
foo: bar
|
||||
bat: baz
|
||||
modules:
|
||||
kernel:
|
||||
kind: exe
|
||||
output: jsix.elf
|
||||
target: host
|
||||
kind: exe
|
||||
deps:
|
||||
- elf
|
||||
- initrd
|
||||
@@ -132,3 +129,8 @@ modules:
|
||||
- src/tests/logger.cpp
|
||||
- src/tests/heap_allocator.cpp
|
||||
- src/tests/main.cpp
|
||||
overlays:
|
||||
- url: https://f000.backblazeb2.com/file/jsix-os/sysroot-llvm8-20190706.tar.bz2
|
||||
path: sysroot
|
||||
- url: https://f000.backblazeb2.com/file/jsix-os/sysroot-j6libc-8cb8ce7.tar.bz2
|
||||
path: sysroot
|
||||
|
||||
13
peru.yaml
13
peru.yaml
@@ -1,13 +0,0 @@
|
||||
imports:
|
||||
sysroot: ./sysroot
|
||||
j6libc: ./sysroot
|
||||
|
||||
curl module sysroot:
|
||||
url: https://f000.backblazeb2.com/file/jsix-os/sysroot-llvm8-20190706.tar.bz2
|
||||
unpack: tar
|
||||
export: sysroot/
|
||||
|
||||
curl module j6libc:
|
||||
url: https://f000.backblazeb2.com/file/jsix-os/sysroot-j6libc-8cb8ce7.tar.bz2
|
||||
unpack: tar
|
||||
export: sysroot/
|
||||
Reference in New Issue
Block a user