Make BOOTMGR buildable again

This commit is contained in:
Quinn Stephens 2024-08-09 09:10:23 -04:00
parent ceb86e3cb2
commit 76e007584e

View File

@ -41,16 +41,16 @@ project("RTL")
targetname("rtl")
files({ "SDK/INC/NT/ntrtl.h", "SDK/RTL/**.c" })
--[[
project("BOOT")
project("BOOTMGR")
kind("ConsoleApp")
location("BOOT/ENVIRON/APP/BOOTMGR")
includedirs({ "BOOT/ENVIRON/INC", "SDK/INC" })
includedirs({ "BOOT/ENVIRON/INC", "SDK/INC/CRT", "SDK/INC/NT" })
libdirs({ "BUILD/SDK" })
objdir("BUILD/BOOT")
targetdir("BUILD/BOOT")
files({ "BOOT/ENVIRON/INC/**.h", "BOOT/ENVIRON/**.c" })
filter("toolset:clang")
buildoptions({ "-fshort-wchar", "-fno-strict-aliasing", "-fno-stack-protector", "-fno-stack-check", "-mno-red-zone" })
linkoptions({ "-Wl,-subsystem:efi_application", "-Wl,-entry:EfiEntry", "crt.lib" })
--]]
linkoptions({ "-lcrt", "-lrtl", "-Wl,-subsystem:efi_application", "-Wl,-entry:EfiEntry" })