Commit 53fde085 authored by Laszlo Ersek's avatar Laszlo Ersek Committed by Philippe Mathieu-Daudé
Browse files

edk2 build scripts: honor external BaseTools flags with uefi-test-tools



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é <philmd@redhat.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: default avatarJohn Snow <jsnow@redhat.com>
Signed-off-by: default avatarLaszlo Ersek <lersek@redhat.com>
Message-Id: <20190920083808.21399-2-lersek@redhat.com>
Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
parent 6f8a70f6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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