qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PULL 4/5] edk2 build scripts: honor external BaseTools flags with uefi-


From: Philippe Mathieu-Daudé
Subject: [PULL 4/5] edk2 build scripts: honor external BaseTools flags with uefi-test-tools
Date: Mon, 7 Oct 2019 15:35:39 +0200

From: Laszlo Ersek <address@hidden>

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é <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: John Snow <address@hidden>
Signed-off-by: Laszlo Ersek <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
 tests/uefi-test-tools/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/uefi-test-tools/Makefile b/tests/uefi-test-tools/Makefile
index 1d78bc14d5..7e0177d733 100644
--- a/tests/uefi-test-tools/Makefile
+++ b/tests/uefi-test-tools/Makefile
@@ -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
-- 
2.21.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]