mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
BaseTools/Source/C/Makefile: Update OBJECTS using OS specific SEP
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>
This commit is contained in:
parent
e092122653
commit
f0542ae07d
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue