Update to bonnibel 2.1

This commit is contained in:
Justin C. Miller
2019-07-21 21:06:56 -07:00
parent 83897048ab
commit d6329ea9bf
3 changed files with 14 additions and 20 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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/