summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg/Scripts
diff options
context:
space:
mode:
authorRebecca Cran <rebecca@bsdio.com>2022-04-10 19:16:59 -0600
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-05-03 09:12:27 +0000
commit101f4c789221716585b972f2c2a22a85c078ef1d (patch)
tree5beb0861d71740d0997d276a27e0d44135a37e3d /ArmPlatformPkg/Scripts
parent5299568ce6737f0225c7cb5b7a6baef409994856 (diff)
downloadedk2-101f4c789221716585b972f2c2a22a85c078ef1d.tar.gz
edk2-101f4c789221716585b972f2c2a22a85c078ef1d.tar.bz2
edk2-101f4c789221716585b972f2c2a22a85c078ef1d.zip
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>
Diffstat (limited to 'ArmPlatformPkg/Scripts')
-rw-r--r--ArmPlatformPkg/Scripts/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPlatformPkg/Scripts/Makefile b/ArmPlatformPkg/Scripts/Makefile
index da949dc1ed..270fc80b6a 100644
--- a/ArmPlatformPkg/Scripts/Makefile
+++ b/ArmPlatformPkg/Scripts/Makefile
@@ -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")