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 <rebe...@bsdio.com> --- ArmPlatformPkg/Scripts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArmPlatformPkg/Scripts/Makefile b/ArmPlatformPkg/Scripts/Makefile index da949dc1ed56..270fc80b6ae8 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") -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#88673): https://edk2.groups.io/g/devel/message/88673 Mute This Topic: https://groups.io/mt/90385958/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-