mirror of https://github.com/acidanthera/audk.git
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:
parent
5299568ce6
commit
101f4c7892
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue