97 Commits

Author SHA1 Message Date
5aa17ead73 "shellcheck -o all"
This is so gonna break something niche.
2024-03-09 01:48:40 +03:00
cb45e83425 For some reason I now need elf.h on Linux too... 2024-03-08 03:41:08 +03:00
f081925f54 Add option to install toolchains elsewhere
My home directory was looking kinda bad.
2024-03-08 02:53:58 +03:00
4fe5676d63 fix wrong fdt casts 2024-01-07 19:39:51 +03:00
139978fd98 Add u-boot to make clean and make u-boot compilation multi-threaded 2024-01-01 04:22:39 +03:00
a4f71e8161 how did this even work in the first place?
https://stackoverflow.com/a/25451611
2024-01-01 04:17:51 +03:00
2905cd97f0 include string.h in strcpy.c to fix implicit declaration warnings 2023-12-30 02:26:48 +03:00
9dc6b70f19 always add braces to control statements and \n at EOF 2023-12-27 17:06:41 +03:00
7f0a207220 changes on .clang-format: no alignment of consecutive declarations and no alignment after comments or linebreaks 2023-12-27 00:40:48 +03:00
b96da58def Add git hook and script to deploy it 2023-12-27 00:16:16 +03:00
722d59a3e0 Integrate clang-format 2023-12-27 00:02:34 +03:00
1bff9d0f7c remove unnecessary includes inside hanekawa 2023-12-26 19:30:27 +03:00
37f4243c61 Merge pull request 'add pedantic flag to build' (#22) from pedantic into master
Reviewed-on: #22
2023-12-26 06:00:18 -08:00
4da268b255 converting function pointer to object pointer for uefi call wrapper 2023-12-26 16:57:50 +03:00
5c7693dac5 starting switch to pedantic #5 2023-12-26 16:35:14 +03:00
6dd3c506f1 seperation of arch dependent C/LD flags #5 2023-12-26 16:01:18 +03:00
8f02f633f9 Asagiri's libc implementation is now called Hanekawa
"I don't implement everything, I only implement what I implement."
2023-11-30 19:17:35 +03:00
f95868c89d moar tabs 2023-11-29 16:52:22 +03:00
d972835ffb some comments for shinobu 2023-11-29 16:51:32 +03:00
aeb4f47fdb tabs, beautiful tabs 2023-11-29 14:26:41 +03:00
7bd2fb4b3b lmao 2023-11-29 14:21:59 +03:00
e59765dd28 suck it cagh 2023-11-29 14:18:56 +03:00
e4318d76a7 gitea apparently uses tab size 4, not 8 2023-11-29 10:13:00 +03:00
36682c8d0a convert makefiles to use tab 2023-11-29 10:09:17 +03:00
6ea7346d97 fix arm64 2023-11-29 09:47:21 +03:00
ece5dd22c4 Build GNU-EFI using toolchain, macOS fixes 2023-11-29 09:29:51 +03:00
8750a2aadf Build shinobu with -z noexecstack --no-warn-rwx-segments 2023-11-28 13:11:57 +03:00
5fb49ac5f0 no-omagic and pie 2023-11-28 09:11:28 +03:00
4c874766cd Merge pull request 'x86_64' (#21) from x86_64 into master
Reviewed-on: #21
2023-11-27 06:47:42 -08:00
8d54253e33 making cagh happy 2023-11-27 17:40:17 +03:00
e1747787a9 Add GNU-EFI to toolchain 2023-11-27 16:51:52 +03:00
4d1d8a85b5 fix conflict on toolchain-aarch64.mk 2023-11-27 10:07:17 +03:00
767c8e7403 Check Arch Linux directories for OVMF as well 2023-11-27 09:58:36 +03:00
2c88de69e1 resolve conflict 2023-11-27 08:15:22 +03:00
61073643aa simplify makefiles 2023-11-26 22:11:23 +03:00
e97835c83d AMD64 bootloader working, move arch headers to include folder 2023-11-26 19:21:01 +03:00
06bd2a57ef shinobu refactoring 2023-11-26 16:45:27 +03:00
421aa4bbfd bootloader changes 2023-11-26 00:59:25 +03:00
08754f219b Follow up 47232020b1c4d25ea9938a77027b67243b96462c (sigh) 2023-11-24 18:57:24 +03:00
aafa37ad06 Initial AMD64 support (bootloader) 2023-11-24 09:13:03 +03:00
2506338b8c Potentially close #18
Needs more testing on real hardware but it works fine on QEMU
2023-11-17 12:22:57 +03:00
47232020b1 uboot patch, modify headers 2023-11-11 14:20:45 +03:00
86ecbc67f7 Remap image path for Windows QEMU while under WSL2 2023-11-11 14:01:51 +03:00
2fad0698d1 Touch up framebuffer initialization and add pixel draw function 2023-11-03 08:28:26 +03:00
3fb52c55f3 Clear framebuffer of u-boot remnants 2023-11-03 08:09:15 +03:00
c09ad97b63 We're now reproducible!
It's unfortunate that we have to use libfaketime for this but I'll take
it over non-reproducible builds.
2023-10-29 19:28:57 +03:00
26e866cae7 Build U-Boot reproducibly 2023-10-29 19:10:23 +03:00
ff96f10d40 Of course, fixing warnings mean nothing if the code doesn't work. 2023-10-28 23:54:55 +03:00
2bc262decb -z noexecstack --no-warn-rwx-segments 2023-10-28 23:35:23 +03:00
eb1157ff08 Fix all the remaining warnings 2023-10-28 23:32:47 +03:00