From 26965d955a6c06e15631ce84b981e643b9b06f87 Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Mon, 12 Aug 2024 06:11:57 +0200 Subject: [IMP] SEE BELOW. + Updated BTB build manifests. + Rename ovmf.ps1 to DownloadOVMF.ps1. Signed-off-by: Amlal EL Mahrouss --- Boot/DownloadOVMF.ps1 | 4 ++++ Boot/ovmf.ps1 | 4 ---- EFSKit/build.json | 2 +- GXKit/build.json | 2 +- SCIKit/build.json | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 Boot/DownloadOVMF.ps1 delete mode 100644 Boot/ovmf.ps1 diff --git a/Boot/DownloadOVMF.ps1 b/Boot/DownloadOVMF.ps1 new file mode 100644 index 00000000..5a2c5f0e --- /dev/null +++ b/Boot/DownloadOVMF.ps1 @@ -0,0 +1,4 @@ +$client = new-object System.Net.WebClient +$output = "$PSScriptRoot\OVMF.fd" + +$client.DownloadFile("https://retrage.github.io/edk2-nightly/bin/DEBUGX64_OVMF.fd", $output) diff --git a/Boot/ovmf.ps1 b/Boot/ovmf.ps1 deleted file mode 100644 index 5a2c5f0e..00000000 --- a/Boot/ovmf.ps1 +++ /dev/null @@ -1,4 +0,0 @@ -$client = new-object System.Net.WebClient -$output = "$PSScriptRoot\OVMF.fd" - -$client.DownloadFile("https://retrage.github.io/edk2-nightly/bin/DEBUGX64_OVMF.fd", $output) diff --git a/EFSKit/build.json b/EFSKit/build.json index 248f97c0..560f6716 100644 --- a/EFSKit/build.json +++ b/EFSKit/build.json @@ -5,6 +5,6 @@ "sources_path": ["*.cxx"], "output_name": "encryptfs.dll", "compiler_flags": ["-ffreestanding", "-shared", "-fno-rtti", "-fno-exceptions", " -Wl,--subsystem=17"], - "cpp_macros": ["__CRT_AMD64__", "cEFSVersion=0x0100", "cEFSVersionHighest=0x0100", "cEFSVersionLowest=0x0100"] + "cpp_macros": ["__EFS_AMD64__", "cEFSVersion=0x0100", "cEFSVersionHighest=0x0100", "cEFSVersionLowest=0x0100"] } \ No newline at end of file diff --git a/GXKit/build.json b/GXKit/build.json index 824c6b1d..09b6b4d4 100644 --- a/GXKit/build.json +++ b/GXKit/build.json @@ -5,6 +5,6 @@ "sources_path": ["*.c"], "output_name": "gx.dll", "compiler_flags": ["-ffreestanding", "-shared", "-std=c17", " -Wl,--subsystem=17"], - "cpp_macros": ["__NEWOSKRNL__", "__DDK_AMD64__", "cGXVersionHighest=1", "cGXVersionLowest=1"] + "cpp_macros": ["__NEWOSKRNL__", "__GX_AMD64__", "cGXVersionHighest=0x0100", "cGXVersionLowest=0x0100"] } \ No newline at end of file diff --git a/SCIKit/build.json b/SCIKit/build.json index 7c80f1a8..9bc72bfa 100644 --- a/SCIKit/build.json +++ b/SCIKit/build.json @@ -4,7 +4,7 @@ "headers_path": ["../"], "sources_path": ["*.cxx"], "output_name": "sci.dll", - "compiler_flags": ["-fPIC", "-shared", "-Wl,--subsystem=17"], - "cpp_macros": ["__SCI_IMPL__", "cSCIVersion=0x0100"] + "compiler_flags": ["-fPIC", "-ffreestanding", "-shared", "-fno-rtti", "-fno-exceptions", "-Wl,--subsystem=17"], + "cpp_macros": ["__SCI_IMPL__", "cSCIVersion=0x0100", "cSCIVersionHighest=0x0100", "cSCIVersionLowest=0x0100"] } \ No newline at end of file -- cgit v1.2.3