Commit Graph

67 Commits

Author SHA1 Message Date
mintsuki 82f0edcd1f build: Backport misc autoconf/pkgconf improvements 2023-10-24 01:16:12 +02:00
mintsuki 3e77a04d2f build: Misc minor QOL configure.ac/GNUmakefile.in improvements 2023-10-24 01:16:12 +02:00
mintsuki d1cb337894 build: Reorganise warning flags 2023-04-14 13:41:41 +02:00
mintsuki 9fa5b1759a build: Minor build system updates 2023-03-24 18:56:31 +01:00
mintsuki b040010cec build: configure: Change some variable names to be more friendly 2023-03-17 21:19:07 +01:00
mintsuki bb8bcab3b6 build: configure: Exit on freestanding-toolchain error 2023-03-15 09:55:43 +01:00
mintsuki 9efe05df89 build: Add and use PROG_ABSPATH autoconf macro 2023-03-14 21:06:49 +01:00
mintsuki 91acfcc0d1 build: Updates for newer freestanding-toolchain 2023-03-14 21:06:49 +01:00
mintsuki 9c16545862 misc: Use freestanding-toolchain instead of cross-detect 2023-03-13 21:40:40 +01:00
mintsuki db099aa213 docs: LICENSE.md -> LICENSE 2023-03-13 21:40:40 +01:00
mintsuki af495884ba build: Honour CROSS_CPPFLAGS 2023-02-27 01:46:10 +01:00
mintsuki 7cd5abc39d docs: Add man pages for host executables 2023-02-21 03:32:28 +01:00
mintsuki 00f228f750 build: Very minor QOL fixes 2023-02-21 03:32:28 +01:00
mintsuki 2a5d66e99b build: Misc quality-of-life fixes 2023-02-19 10:44:09 +01:00
mintsuki 958ac86183 build: Misc configure.ac improvements, install-strip fix ups 2023-02-12 23:27:04 +01:00
mintsuki 4cc03205ed build: Update for latest cross-detect 2023-02-12 07:54:49 +01:00
mintsuki c1941bdfd5 build: Update build option dependencies and names 2022-09-22 18:18:06 +02:00
mintsuki 025792e994 build: Honor CPPFLAGS variable 2022-09-20 23:57:29 +02:00
mintsuki 8307d96f3c build: Do not request readelf from cross-detect when not needed 2022-09-16 11:50:47 +02:00
mintsuki 6235c15efb build: Change name of --enable-uefi-x86_64 option to --enable-uefi-x86-64 2022-09-16 11:50:47 +02:00
mintsuki a8609be921 build: Only check nasm and gzip presence as needed 2022-09-16 11:50:47 +02:00
mintsuki fe00a3c45d build: Updates for new cross-detect 2022-09-11 15:23:58 +02:00
mintsuki 4869c14ce0 build: Fix cross-detect errors detection for aarch64 2022-09-01 04:47:19 +02:00
mintsuki 57194bc15e build: Default to -O2 optimisation instead of -O3 2022-08-28 23:50:25 +02:00
mintsuki a91abf2c2a build: Handle -no-pie bug with cross-detect 2022-08-26 10:23:35 +02:00
mintsuki 2460b33f9c build: Misc build system improvements 2022-08-23 00:21:09 +02:00
mintsuki c626e63b56 build: Fix #208 2022-08-22 18:41:32 +02:00
Kacper Słomiński e1f6ac8860
Initial AArch64 port (#205)
* Initial aarch64 port

* Enable chainload on aarch64

No changes necessary since it's all UEFI anyway.

* Add specification for Limine protocol for aarch64

* PROTOCOL: Specify state of information in DT /chosen node

* common: Add spinup code for aarch64

* common: Port elf and term to aarch64

* common: Port vmm to aarch64

Also prepare to drop VMM_FLAG_PRESENT on x86.

* protos: Port limine boot protocol to aarch64

Also drop VMM_FLAG_PRESENT since we never unmap pages anyway.

* test: Add DTB request

* PROTOCOL: Port SMP request to aarch64

* cpu: Add cache maintenance functions for aarch64

* protos/limine, sys: Port SMP to aarch64

Also move common asm macros into a header file.

* test: Start up APs

* vmm: Unify get_next_level and implement large page splitting

* protos/limine: Map framebuffer using correct caching mode on AArch64

* CI: Fix GCC build for aarch64

* entry, menu: Replace uses of naked attribute with separate asm file

GCC does not understand the naked attribute on aarch64, and didn't
understand it for x86 in older versions.
2022-08-18 17:32:54 +02:00
mintsuki dc3a81cb61 build: Drop support for building GCC toolchain 2022-08-09 13:30:16 +02:00
mintsuki 4422ebd61c build: Get proper mkdir -p from autoconf 2022-08-08 22:00:25 +02:00
mintsuki 6106285d35 build: Move to using external cross-detect package 2022-07-05 09:14:48 +02:00
mintsuki 1843b26078 build: Minor configure.ac adjustments 2022-07-04 09:09:46 +02:00
mintsuki 8f8af188fb build: Make sure autoreconf -fvi is able to reconf tarballs. Fixes #187 2022-07-02 12:34:01 +02:00
mintsuki 4b32083ab6 build: Misc improvements 2022-06-22 21:56:41 +02:00
mintsuki 9f00d613a1 build: Update for newer limine-efi 2022-06-22 21:24:30 +02:00
mintsuki 2590c5ac05 build: Remove useless LIMINE_AS 2022-06-21 22:14:05 +02:00
mintsuki 53a2dbefdf build: Improve toolchain detection 2022-06-20 00:22:02 +02:00
mintsuki 7eac8416e7 build: Run toolchain-detect at configure time 2022-06-18 03:03:06 +02:00
mintsuki 7404cb467e build: Add toolchain-detect 2022-06-15 07:16:41 +02:00
mintsuki 0c084e37d5 build: Remove useless x86-specific test from configure 2022-06-15 05:28:53 +02:00
mintsuki 539ac94563 build: Disable all ports by default 2022-06-15 05:01:22 +02:00
mintsuki 1fc8247a86 build: Increase portability of Makefile targets 2022-06-15 03:25:36 +02:00
mintsuki 3d9737f5e6 build: Configure improvements 2022-05-21 04:23:03 +02:00
mintsuki 64e9c11daa build: No longer hard depend on GNU binutils 2022-04-20 04:38:58 +02:00
mintsuki c052509567 misc: limine-s2deploy -> limine-deploy 2022-04-02 09:31:19 +02:00
mintsuki 6f8474c249 misc: limine-eltorito-efi.bin -> limine-cd-efi.bin 2022-03-30 15:14:02 +02:00
mintsuki 65b5a7f66f misc: limine-install -> limine-s2deploy 2022-03-21 00:56:02 +01:00
mintsuki c5d61e4ec6 build: Unbreak out of tree builds 2022-02-21 00:40:15 +01:00
mintsuki 1984f401a1 build: Use config.h for generated constants 2022-02-20 23:05:53 +01:00
mintsuki 92eef3feec build: Add more granular configure options 2022-02-18 02:23:39 +01:00