diff options
author | Rebecca Cran <rebecca@bsdio.com> | 2022-04-10 19:16:59 -0600 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-05-03 09:12:27 +0000 |
commit | 101f4c789221716585b972f2c2a22a85c078ef1d (patch) | |
tree | 5beb0861d71740d0997d276a27e0d44135a37e3d /ArmPlatformPkg/Scripts | |
parent | 5299568ce6737f0225c7cb5b7a6baef409994856 (diff) | |
download | edk2-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/Makefile | 2 |
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")
|