efi: create map file
When debugging the EFI bootloader it is helpful to have a map file available. Write file efi.map when linking. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Change-Id: I6d566df50fb2713f53375970f6645353bac54042 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2964 Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
This commit is contained in:
parent
dc8d6e73f8
commit
35323f65d5
@ -283,6 +283,7 @@ for platform in [ MultiBootSubDirSetup ] {
|
||||
# efi loader needs to be shared.
|
||||
if $(TARGET_BOOT_PLATFORM) = efi {
|
||||
ldflags += -shared ;
|
||||
ldflags += -Map=efi.map ;
|
||||
}
|
||||
|
||||
BootLd boot_loader_$(platform:G=) :
|
||||
|
Loading…
x
Reference in New Issue
Block a user