Commit Graph

120 Commits

Author SHA1 Message Date
293be2c75a
tools: Use libluna instead of luna in run-clang-format.sh 2023-03-07 21:08:05 +01:00
77887eed80
luna -> libluna
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-27 15:22:39 +01:00
8098ff0616
tools: Avoid rebuilding libc and friends every single time
All checks were successful
continuous-integration/drone/push Build is passing
We do this by preserving timestamps when copying headers so CMake doesn't think they have changed.
2023-01-25 21:16:20 +01:00
a6974b605e
tools+CMake: Prefix all environment variables with LUNA_
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-21 22:44:16 +01:00
73ddd0b0c5
tools: Be more arch-agnostic
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-11 19:14:35 +01:00
0c5a84f932
toolchain: Update to binutils 2.39
Some checks failed
continuous-integration/drone/push Build is failing
CI will fail, it's normal. Wait for me to build a new toolchain for it.
2023-01-07 21:23:01 +01:00
8838e2cf22
Bring back the OS-Specific Toolchain on restart :^)
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-06 17:35:07 +01:00
f1923ce5bd
Install headers before compilation
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-06 13:35:57 +01:00
129e3c434a
Switch to C for userspace, with a very bare-bones libc!!
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-06 13:31:14 +01:00
34e6c05cef
Fix it up a bit more
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-23 10:48:00 +01:00
913b13b380
Fix up the header install script
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-23 10:46:44 +01:00
4fdd1d57f5 Make build-debug.sh also add debug symbols to luna 2022-12-07 16:11:59 +00:00
f767d98037
Please work 2022-12-05 19:07:01 +01:00
999d90d588
Update check-formatting.sh 2022-12-05 19:02:23 +01:00
c7ab6bc2d3
Reorganize the luna/ directory so that headers aren't in the top level include path 2022-12-04 12:42:43 +01:00
a0c4bbe6f3 Make sure to clean CMake cache when rebuilding 2022-12-04 11:55:47 +01:00
5d9c50eb12 Make build-debug.sh work 2022-12-04 10:27:25 +01:00
bbc5470ae4 Update symlink location 2022-12-03 17:39:22 +01:00
e440df58c9 cleanup: remove unused scripts 2022-12-03 17:37:12 +01:00
505dde35ac Make GDB source .gdbconf relative to the root directory 2022-12-03 17:34:36 +01:00
dcd5a82073 Make GDB use the correct kernel file 2022-12-03 17:34:14 +01:00
88681bdc74 Default to ninja 2022-11-23 19:01:28 +01:00
3b2dc5db55 PlacementNew.h: Use Types.h 2022-11-23 17:22:16 +01:00
46cad14052 Print "All files OK" when all files are using correct types 2022-11-20 18:57:22 +01:00
f982152caa Add a script to manually check files with stdint.h types 2022-11-20 18:54:39 +01:00
1f2901d41a Add convenience script to replace stdint.h types with Types.h types 2022-11-20 18:28:46 +01:00
285c3cc411 Add Luna sources to list of sources to be formatted 2022-11-20 18:28:16 +01:00
83e6bd1322 Make the build system more platform-agnostic 2022-11-19 17:46:53 +01:00
7f15ba0ac5 Add some interrupt handling 2022-11-16 17:37:18 +01:00
6b95307b54 Add init 2022-11-13 12:20:53 +01:00
a3465c2f5e tools: Make buildstep exit on error 2022-11-12 11:30:17 +01:00
da41784183 Fix setup-gcc.sh 2022-11-09 17:15:02 +01:00
46e4d37098 toolchain: build libstdc++ without exceptions, just in case 2022-11-09 12:09:56 +01:00
b6f2b41f1f Toolchain: Build libstdc++ just after gcc and libgcc
This means... C++ userland programs!!
Some parts of the standard library still have weird behavior. For example, do not try to use std::cout. That page-faults.
2022-11-09 11:56:08 +01:00
033c41cbd7 Kernel: Rework the uid/gid system to make it compliant 2022-11-09 09:54:07 +01:00
99429baed2 tools: make moon.sym readable only by root
We don't want everyone peeking at kernel symbols.
2022-11-09 09:11:00 +01:00
bb26996cb7 Add a script to check whether all project sources are properly formatted 2022-11-08 19:17:21 +01:00
0c1ffedd3f Add a script to run clang-format on all source files 2022-11-08 19:07:16 +01:00
327b60566c Use different color for luna builds than for port builds 2022-11-08 18:04:58 +01:00
054d5a8bb4 Build system: Prettify build 2022-11-08 18:03:43 +01:00
cbc2e76082 Remove the .elf suffix from the kernel filename 2022-11-03 20:44:37 +01:00
d875224045 Ports: Add mpc, mpfr and gmp ports 2022-10-26 21:56:43 +02:00
8cfede341f Tools: Fix run.sh and update rebuild-and-run.sh to use fast-run.sh 2022-10-24 21:18:28 +02:00
35da7e0223 Fix up install-built-ports.sh if ports.list is not present 2022-10-24 20:52:52 +02:00
1716a81e82 no need to unset filter-lines 2022-10-24 20:48:57 +02:00
040fbde462 Unset LD and AR so gcc doesn't get confused 2022-10-24 18:33:29 +00:00
bd56c7f496 Unset LD and AR so binutils doesn't get confused during the build process 2022-10-24 18:32:57 +00:00
3db342e897 tools: only unset filter-lines if it is not set 2022-10-23 20:07:26 +02:00
2d807e3ca5 tools: Add prefix messages that tell us where we're at in a build, inspired by SerenityOS :) 2022-10-23 20:03:29 +02:00
fb0fc29087 Adjust install-built-ports.sh 2022-10-23 19:27:34 +02:00
1a82bbb234 ports: Add a port system
The only port right now is bc, which works... kind of.
It compiles, and runs, but is really janky. At least it runs!!
2022-10-23 16:44:50 +02:00
7d71bd192d Tools: Add a fast-run.sh script which does not build, only run 2022-10-20 18:48:25 +02:00
d62eb6c791 Tests: Add test framework 2022-10-16 15:31:58 +02:00
8daffa876c Make some shell scripts executable 2022-10-12 14:31:50 +02:00
1e0c8c5fe7 Kernel: Strip kernel symbols when installing
Since we already extract the symbols into a separate file which the kernel then uses for backtraces, this only brings us a smaller kernel, with no downsides :)
2022-10-08 15:57:07 +02:00
4a212b4c92 Modify shebangs to use /usr/bin/env bash instead of /bin/sh 2022-10-08 15:35:39 +02:00
aa5c1be945 Separate building a debug image and running it, and provide a script for GDB. 2022-10-08 15:32:48 +02:00
ee31a3458d Fix setup-binutils and setup-gcc 2022-10-02 19:58:52 +02:00
6bacded5cf Update build system 2022-10-02 17:01:30 +02:00
e483f6d1e6 Adjust build scripts to install LibC headers 2022-10-02 12:47:50 +02:00
ba52e389a5 Hosted GCC cross-compiler for x86_64-luna!!! 2022-10-02 12:21:02 +02:00
85d4268b01 Hosted Binutils for x86_64-luna 2022-10-02 10:33:34 +02:00
fcf5923cc0 WIP: Add a C Library, let's try to compile a Hosted GCC cross-compiler using this! 2022-10-01 20:59:22 +02:00
d79596f21b Add a tool to auto-generate a symbol map, borrowed from SerenityOS :) 2022-09-19 20:35:24 +02:00
07d1943053 add build-stable-iso.sh 2022-09-10 18:09:33 +02:00
0cc3900e88 Make building with debug symbols conditional in the Makefile 2022-09-07 15:05:57 +02:00
1820286d8b stuff 2022-09-07 10:33:22 +02:00
86e53c3004 Added rebuild*.sh scripts 2022-09-06 18:27:24 +02:00
bd0a24097f Add a KernelMemoryManager namespace to wrap PMM + VMM 2022-09-06 18:08:15 +02:00
1b727a66ea Ready. Set. Go! 2022-09-05 16:13:51 +02:00