Commit 101f4c78 authored by Rebecca Cran's avatar Rebecca Cran Committed by mergify[bot]
Browse files

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: default avatarRebecca Cran <rebecca@bsdio.com>
Reviewed-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 5299568c
......@@ -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")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment