summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2026-02-05 15:15:08 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-02-06 04:40:03 +0000
commitf0542ae07d5e5e4d311bf8ae33bf26b4b1acf9f4 (patch)
treed1e5ccb0512067a68eb0db4bc972fc1c66ee383b
parente092122653c003551afc4e58ba197c1da51621cc (diff)
downloadedk2-master.zip
edk2-master.tar.gz
edk2-master.tar.bz2
BaseTools/Source/C/Makefile: Update OBJECTS using OS specific SEPHEADmaster
Use $(SEP) with addprefix of $(OBJDIR) to support Windows MINGW CLANG builds that use Windows path separators with GNU makefiles. This fixes Windows MINGW CLANG builds of the PcdValueInit application that is required for structured PCDs. Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
-rw-r--r--BaseTools/Source/C/Makefiles/app.makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Source/C/Makefiles/app.makefile b/BaseTools/Source/C/Makefiles/app.makefile
index 475cb88..2ce185c 100644
--- a/BaseTools/Source/C/Makefiles/app.makefile
+++ b/BaseTools/Source/C/Makefiles/app.makefile
@@ -8,10 +8,11 @@
MAKEROOT ?= ../..
BUILDROOT ?= $(MAKEROOT)
OBJDIR ?= .
-OBJECTS := $(addprefix $(OBJDIR)/,$(OBJECTS))
include $(MAKEROOT)/Makefiles/header.makefile
+OBJECTS := $(addprefix $(OBJDIR)$(SEP),$(OBJECTS))
+
APPLICATION = $(BUILDROOT)/bin/$(APPNAME)
.PHONY:all