Make BOOTMGR buildable again
This commit is contained in:
parent
ceb86e3cb2
commit
76e007584e
10
premake5.lua
10
premake5.lua
@ -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" })
|
||||
|
Loading…
Reference in New Issue
Block a user