Lauri Kenttä
1e36d7e388
Support compiling with MSYS2 tools in Windows
...
Windows and MSYS2 need csc parameters to start with "-", not "/".
Now setup.exe can be compiled with the csc in MSYS2 mono package.
The EFI binaries can already be compiled with MSYS2 clang & lld.
2024-06-22 19:38:29 +03:00
Lauri Kenttä
9a0d4737e1
Improve setup.exe metadata
2024-06-21 15:36:46 +03:00
Lauri Kenttä
c826149183
Refactor EFI boot entry code into a new class
2024-06-13 15:50:19 +03:00
Lauri Kenttä
9ebe4e2476
Add run-qemu-<arch> to Makefile
...
The exact command may vary by OS, this is for Arch Linux.
2023-11-25 20:04:54 +02:00
Lauri Kenttä
5111897fae
Update Makefile (instructions, release)
2023-11-25 20:04:54 +02:00
Lauri Kenttä
8dfa456a7b
Fix ARM (32-bit) build
...
Use -O, because -O2 causes Undefined OpCode in QEMU / UEFI Shell.
Remove -mno-red-zone which triggers -Wunused-command-line-argument.
Set architecture in PE file manually:
EFI uses IMAGE_FILE_MACHINE_ARMTHUMB_MIXED = 0x01C2,
while the default is IMAGE_FILE_MACHINE_ARMNT = 0x01C4.
2023-11-25 19:16:43 +02:00
Lauri Kenttä
7ccdcc4a77
Add ARM (32-bit) target (without shim, though)
...
Remove some integer divisions because they emit function calls.
2023-11-20 19:45:28 +02:00
Lauri Kenttä
50e84e8c90
Add AArch64 target
2023-11-20 19:45:28 +02:00
Lauri Kenttä
24c7e2b316
Switch to Clang
...
Clang can cross-compile to PE and is easier to setup than MinGW.
2023-11-20 19:45:28 +02:00
Lauri Kenttä
4379f9cbeb
Add gnu-efi submodule for headers, don't link, just re-implement some functions
2023-11-20 19:42:23 +02:00
Lauri Kenttä
466ab69c48
Use shim 15.7 to support Secure Boot
...
Use shim-signed and shim-helpers-{arch}-signed from Debian:
https://packages.debian.org/bookworm/shim-signed
2023-11-17 23:24:58 +02:00
Lauri Kenttä
14aa79929a
Easily override GIT_DESCRIBE
2023-11-17 23:13:12 +02:00
Lauri Kenttä
5e32a3f880
Add clean target to Makefile
2023-11-17 23:13:12 +02:00
Lauri Kenttä
9b3b045a21
Add SBAT section to the EFI binaries
2023-11-17 22:26:43 +02:00
Lauri Kenttä
be8a5d35d2
Sign the EFI files
2023-11-17 22:26:43 +02:00
Lauri Kenttä
1fa53f3f06
Remove SetupHelper class
2023-09-10 15:02:58 +03:00
Lauri Kenttä
7d5f4eac17
Makefile default target: efi, setup and zip
2023-08-27 13:05:19 +03:00
Lauri Kenttä
0b5899e801
Make GIT_DESCRIBE.data const
2023-08-27 13:05:08 +03:00
Lauri Kenttä
9a59f69a28
Compile C# with csc (not mcs)
2018-07-11 16:59:27 +03:00
Lauri Kenttä
fa0f846f79
Implement rebooting to UEFI setup
2017-09-30 22:41:00 +03:00
Lauri Kenttä
7ad4762a3d
Improve ESP detection and move to another file
2017-09-30 16:40:17 +03:00
Lauri Kenttä
1b6b17ec9a
Move some helpers to SetupHelper class
2017-09-30 15:39:52 +03:00
Lauri Kenttä
91aad3b971
Makefile: Add variable for C# file list
2017-09-25 21:18:46 +03:00
Lauri Kenttä
c01cf121a0
Makefile: Add zip target for easier releases
2017-08-29 01:56:58 +03:00
Lauri Kenttä
c12bd7a859
Makefile: Set version to 'unknown' if git fails
2017-01-07 14:03:43 +02:00
Lauri Kenttä
ce44c3dcb3
Makefile: Build both IA-32 and x86_64 by default
2017-01-07 14:02:51 +02:00
Lauri Kenttä
3da9e1818a
Add git version to setup.exe
2016-06-05 12:42:37 +03:00
Lauri Kenttä
b7fd08c978
Add git version to the EFI application
2016-06-05 12:42:37 +03:00
Lauri Kenttä
a627895bfb
Reimplement the installer with C#
...
The new installer includes better error handling and automatic
architecture detection to support both x86-64 and IA-32.
2016-06-05 12:42:37 +03:00
Lauri Kenttä
733acccc42
Build IA-32 version
2016-06-02 22:53:23 +03:00
Lauri Kenttä
51ccb0255e
Improve SDT checksum functions
2016-05-14 20:11:54 +03:00
Lauri Kenttä
cc44e6eb9b
Initial release to GitHub
2016-05-11 23:01:22 +03:00