diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-04-04 16:46:38 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-04-04 16:46:38 +0200 |
| commit | 73a3715f217931338b9034c293bacf8c7b1912dc (patch) | |
| tree | e217b207f32fd72219b2e5d9204cfb8329219531 /Private/NewBoot/Source | |
| parent | 0ab2b53a25ace96b414e7f60ee3f2c4621cac409 (diff) | |
Meta: Update resource file.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/NewBoot/Source')
| -rw-r--r-- | Private/NewBoot/Source/BootloaderRsrc.rsrc | 27 | ||||
| -rw-r--r-- | Private/NewBoot/Source/HEL/AMD64/BootMain.cxx | 2 | ||||
| -rw-r--r-- | Private/NewBoot/Source/makefile | 5 |
3 files changed, 31 insertions, 3 deletions
diff --git a/Private/NewBoot/Source/BootloaderRsrc.rsrc b/Private/NewBoot/Source/BootloaderRsrc.rsrc new file mode 100644 index 00000000..e8fa0c9a --- /dev/null +++ b/Private/NewBoot/Source/BootloaderRsrc.rsrc @@ -0,0 +1,27 @@ +#include "../../CompilerKit/Version.hxx" + +1 ICON "../../Root/Boot/kernel-logo.ico" + +1 VERSIONINFO +FILEVERSION 1,0,0,0 +PRODUCTVERSION 1,0,0,0 +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "080904E4" + BEGIN + VALUE "CompanyName", "Mahrouss-Logic" + VALUE "FileDescription", "NewOS multi-platform bootloader." + VALUE "FileVersion", BOOTLOADER_VERSION + VALUE "InternalName", "NewBoot" + VALUE "LegalCopyright", "Copyright Mahrouss-Logic, all rights reserved." + VALUE "OriginalFilename", "NewBoot.exe" + VALUE "ProductName", "NewBoot" + VALUE "ProductVersion", BOOTLOADER_VERSION + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x809, 1252 + END +END
\ No newline at end of file diff --git a/Private/NewBoot/Source/HEL/AMD64/BootMain.cxx b/Private/NewBoot/Source/HEL/AMD64/BootMain.cxx index 542d62b1..f4eaee33 100644 --- a/Private/NewBoot/Source/HEL/AMD64/BootMain.cxx +++ b/Private/NewBoot/Source/HEL/AMD64/BootMain.cxx @@ -32,7 +32,7 @@ EFI_EXTERN_C EFI_API Int EfiMain(EfiHandlePtr ImageHandle, BTextWriter writer; /// Splash screen stuff - writer.Write(L"MahroussLogic (R) NewOS: ") + writer.Write(L"Mahrouss-Logic (R) NewOS: ") .Write(BVersionString::Shared()); writer.Write(L"\r\nNewBoot.exe: Firmware Vendor: ") diff --git a/Private/NewBoot/Source/makefile b/Private/NewBoot/Source/makefile index a3807a6d..b9413bb4 100644 --- a/Private/NewBoot/Source/makefile +++ b/Private/NewBoot/Source/makefile @@ -32,14 +32,15 @@ FLAG_GNU=-fshort-wchar -mgeneral-regs-only -mno-red-zone -D__KERNEL__ -DEFI_FUNC invalid-recipe: @echo "invalid-recipe: Use make bootloader-<arch> all instead." -.PHONY: bootloader-amd64 -bootloader-amd64: compile-amd64 +.PHONY: all +all: compile-amd64 $(LD_GNU) $(OBJ) $(LD_FLAGS) -o NewBoot.exe $(COPY) NewBoot.exe CDROM/EFI/BOOT/BOOTX64.EFI $(COPY) NewBoot.exe CDROM/EFI/BOOT/NEWBOOT.EFI .PHONY: compile-amd64 compile-amd64: + windres BootloaderRsrc.rsrc -O coff -o BootloaderRsrc.o $(CC_GNU) $(FLAG_GNU) $(DEBUG) $(wildcard HEL/AMD64/*.cxx) $(wildcard *.cxx) .PHONY: run-efi-amd64 |
