Skip to content

Commit

Permalink
edk2 build scripts: honor external BaseTools flags with uefi-test-tools
Browse files Browse the repository at this point in the history
Unify the recipe for "build-edk2-tools" in
"tests/uefi-test-tools/Makefile" with the recipe for "edk2-basetools" in
"roms/Makefile".

Cc: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: John Snow <[email protected]>
Signed-off-by: Laszlo Ersek <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
  • Loading branch information
lersek authored and philmd committed Oct 7, 2019
1 parent 6f8a70f commit 53fde08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/uefi-test-tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ Build/bios-tables-test.%.efi: build-edk2-tools
+./build.sh $(edk2_dir) BiosTablesTest $* $@

build-edk2-tools:
$(MAKE) -C $(edk2_dir)/BaseTools
$(MAKE) -C $(edk2_dir)/BaseTools \
EXTRA_OPTFLAGS='$(EDK2_BASETOOLS_OPTFLAGS)' \
EXTRA_LDFLAGS='$(EDK2_BASETOOLS_LDFLAGS)'

clean:
rm -rf Build Conf log
Expand Down

0 comments on commit 53fde08

Please sign in to comment.