Commit graph

29 commits

Author SHA1 Message Date
4lDO2
97cab676c1
Update toolchain to nightly-2021-06-15. 2021-06-18 09:28:35 +02:00
Jeremy Soller
b2b49fbd77
Update kernel and makefiles to enable use of GS segment 2021-02-23 09:23:37 -07:00
Robin Randhawa
b9f43dd529 Switch kernel builds away from using xargo
Use cargo's 'build-std=core,alloc' instead.

Also: Cargo is now given the complete path to the target specific JSON file.
This forces the use of the JSON file (the file is silently ignored if
the target in question was built into the rust compiler).
2020-10-06 14:00:30 +01:00
Jeremy Soller
986aad930f Compile more things with LTO 2019-02-25 16:08:17 -07:00
Jeremy Soller
0c56ae16e8 Add support for building as a coreboot payload 2019-02-25 12:10:16 -07:00
Jeremy Soller
7b461bd7e0
Set path where required 2018-11-27 20:17:56 -07:00
Jeremy Soller
9cece170b1
Backport prefix changes from aarch64 2018-11-27 19:45:52 -07:00
Jeremy Soller
4e8015d89e
Use the same arguments for building live kernel 2018-11-25 08:26:02 -07:00
Jeremy Soller
ea4ac261cd
Build kernel when lock file changes 2018-11-16 20:09:26 -07:00
Jeremy Soller
e1b7b0e8cb Merge branch 'relibc' 2018-10-14 16:41:00 -06:00
Jeremy Soller
580287392b - Do not copy relibc before building
- Remove debug section from live kernel as well
2018-09-15 07:25:49 -06:00
Caleb Boylan
a02d5d9ad1 Change reference to github in mk/kernel.mk 2018-08-26 09:27:35 -07:00
Jeremy Soller
7980218cd9 Update kernel 2018-03-11 11:39:01 -06:00
Dan Robertson
804d0ad641
Keep debug info in a .sym file
- Compile time changes
   - Compile libkernel.a with debug info
   - Copy debug info to kernel.sym
   - Strip the kernel of debug symbols
 - Workflow changes
   - Add `debug` option to `make qemu`
2017-12-03 02:36:45 +00:00
Jeremy Soller
9fb3223dfa Update kernel.mk 2017-10-05 18:23:21 -06:00
Jeremy Soller
49cd5866ac Fix live filesystem by using a different initfs 2017-10-01 14:25:07 -06:00
Jeremy Soller
345c6bc434 New method of linking live filesystem
Downsize live filesystem to 256 MB
2017-09-19 20:36:44 -06:00
Jose Narvaez
8a43b5a3e5 Small fixes to Makefiles to be able to build the kernel on
macOS again.

Details

- We are using the toolchain compiler and archiver in order
to generate a proper ELF file when building the 'raw-cpuid'
crate C code which is currently being compiled by the macOS
toolchain.

- I added the 'findutils' and 'coreutils' Homebrew/MacPorts
packages to the bootstrap script in order to setup the proper
environment for the cookbook scripts (as the assume GNU tools).
This should be temporary until the cookbook scripts get migrated
to Rust.
2017-07-13 21:09:47 +01:00
Jeremy Soller
2158be3aee Update kernel and bootloader 2017-06-13 21:43:57 -06:00
Jeremy Soller
737b9c4c60 Update recipes 2017-05-11 21:19:31 -06:00
Jeremy Soller
c9950beec2 Convert to cookbook based build 2017-05-10 21:39:05 -06:00
Jeremy Soller
29e6283840 Update submodules 2017-04-05 20:11:30 -06:00
Jeremy Soller
dea4ec0953 Fix detection of initfs changes 2017-03-19 16:46:15 -06:00
Jeremy Soller
1346d8a181 Fixes for build - do not use LTO on kernel 2017-02-07 20:03:32 -07:00
Jeremy Soller
2d25d58482 Fix kernel output 2017-02-07 19:48:50 -07:00
Jeremy Soller
e111e173cf Remove verbose 2017-01-09 21:52:36 -07:00
Jeremy Soller
e519d215d8 Revert "Compile with opt-level 3, lto"
This reverts commit 68b3315673.
2017-01-09 21:51:41 -07:00
Jeremy Soller
68b3315673 Compile with opt-level 3, lto 2017-01-09 21:39:01 -07:00
Jeremy Soller
e3f3f27fbc Modularise makefiles 2017-01-05 14:07:20 -07:00