ArmPlatformPkg: Fix EDK2_DSC check in Scripts/Makefile

With GNU Make 4.2.1, ifeq ($(EDK2_DSC),"") doesn't catch the case where
EDK2_DSC isn't defined. So, switch to using ifndef.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
Rebecca Cran 2022-04-10 19:16:59 -06:00 committed by mergify[bot]
parent 5299568ce6
commit 101f4c7892
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ EDK2_TOOLCHAIN ?= RVCTLINUX
EDK2_ARCH ?= ARM
EDK2_BUILD ?= DEBUG
ifeq ($(EDK2_DSC),"")
ifndef EDK2_DSC
$(error The Makfile macro 'EDK2_DSC' must be defined with an EDK2 DSC file.)
endif
ifeq ("$(EDK2_DSC)","ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.dsc")