mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14: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
|
* bonnibel
|
||||||
* ninja
|
* ninja
|
||||||
* clang
|
* clang
|
||||||
|
* nasm
|
||||||
* mtools
|
* mtools
|
||||||
* curl for downloading the toolchain
|
* curl for downloading the toolchain
|
||||||
|
|
||||||
### Setting up the cross toolchain
|
### Setting up the cross toolchain
|
||||||
|
|
||||||
If you have `clang` and `curl` installed, runing the `scripts/build_sysroot_clang.sh`
|
Running `pb sync` will download and unpack the toolchain into `sysroot`.
|
||||||
script will download and build a nasm/binutils/LLVM toolchain configured for building
|
|
||||||
jsix host binaries.
|
#### 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
|
### Building and running jsix
|
||||||
|
|
||||||
|
|||||||
10
modules.yaml
10
modules.yaml
@@ -1,13 +1,10 @@
|
|||||||
name: jsix
|
name: jsix
|
||||||
templates: scripts/templates
|
templates: scripts/templates
|
||||||
vars:
|
|
||||||
foo: bar
|
|
||||||
bat: baz
|
|
||||||
modules:
|
modules:
|
||||||
kernel:
|
kernel:
|
||||||
|
kind: exe
|
||||||
output: jsix.elf
|
output: jsix.elf
|
||||||
target: host
|
target: host
|
||||||
kind: exe
|
|
||||||
deps:
|
deps:
|
||||||
- elf
|
- elf
|
||||||
- initrd
|
- initrd
|
||||||
@@ -132,3 +129,8 @@ modules:
|
|||||||
- src/tests/logger.cpp
|
- src/tests/logger.cpp
|
||||||
- src/tests/heap_allocator.cpp
|
- src/tests/heap_allocator.cpp
|
||||||
- src/tests/main.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