]> Git Repo - qemu.git/commit
roms: Allow passing configure options to the EDK2 build tools
authorPhilippe Mathieu-Daudé <[email protected]>
Tue, 9 Apr 2019 13:45:36 +0000 (15:45 +0200)
committerPaolo Bonzini <[email protected]>
Tue, 9 Apr 2019 16:33:55 +0000 (18:33 +0200)
commit1cab464136b424380dc9a0691147ccf909d5df31
treee59c08140f12f150ab3ab4ed81e9d80613f635e1
parentd912e795e029b6ff76e8b57c7d0254b791907559
roms: Allow passing configure options to the EDK2 build tools

Since commit f590a812c210 we build the EDK2 EfiRom utility
unconditionally.

Some distributions require to use extra compiler/linker flags,
i.e. SUSE which enforces the PIE protection (see [*]).

EDK2 build tools already provide a set of variables for that,
use them to allow the caller to easily inject compiler/linker
options..

Now build scripts can pass extra options, example:

  $ make -C roms \
      EDK2_BASETOOLS_OPTFLAGS='-fPIE' \
      efirom

[*] https://lists.opensuse.org/opensuse-factory/2017-06/msg00403.html

Reported-by: Olaf Hering <[email protected]>
Suggested-by: Laszlo Ersek <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20190409134536[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Reviewed-by: Igor Mammedov <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
roms/Makefile
This page took 0.022809 seconds and 4 git commands to generate.