diff options
Diffstat (limited to 'EdkCompatibilityPkg/Sample/Tools/Source/StrGather/Makefile')
-rw-r--r-- | EdkCompatibilityPkg/Sample/Tools/Source/StrGather/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/Makefile b/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/Makefile index dce81b0e04..993063d4ce 100644 --- a/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/Makefile +++ b/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/Makefile @@ -79,11 +79,13 @@ $(TARGET_EXE): $(EFI_PLATFORM_BIN)\Tools\$(TARGET_NAME).exe !ELSE
$(TARGET_EXE) : $(OBJECTS) $(LIBS)
$(LINK) $(MSVS_LINK_LIBPATHS) $(L_FLAGS) $(LIBS) /out:$(TARGET_EXE) $(OBJECTS)
+!IF ("$(EFI_BINARY_BUILD)" == "YES")
if not exist $(EFI_PLATFORM_BIN)\Tools mkdir $(EFI_PLATFORM_BIN)\Tools
if exist $(TARGET_EXE) copy $(TARGET_EXE) $(EFI_PLATFORM_BIN)\tools\$(TARGET_NAME).exe /Y
if exist $(EDK_TOOLS_OUTPUT)\$(TARGET_NAME).pdb \
copy $(EDK_TOOLS_OUTPUT)\$(TARGET_NAME).pdb $(EFI_PLATFORM_BIN)\Tools\$(TARGET_NAME).pdb /Y
!ENDIF
+!ENDIF
clean:
|