8098ff0616
tools: Avoid rebuilding libc and friends every single time
...
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_
continuous-integration/drone/push Build is passing
2023-01-21 22:44:16 +01:00
73ddd0b0c5
tools: Be more arch-agnostic
continuous-integration/drone/push Build is passing
2023-01-11 19:14:35 +01:00
0c5a84f932
toolchain: Update to binutils 2.39
...
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 :^)
continuous-integration/drone/push Build is failing
2023-01-06 17:35:07 +01:00
f1923ce5bd
Install headers before compilation
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!!
continuous-integration/drone/push Build is failing
2023-01-06 13:31:14 +01:00
34e6c05cef
Fix it up a bit more
continuous-integration/drone/push Build is passing
2022-12-23 10:48:00 +01:00
913b13b380
Fix up the header install script
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