summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex
diff options
context:
space:
mode:
Diffstat (limited to 'EdkCompatibilityPkg/Sample/Tools/Source/GenDepex')
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.c12
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/makefile2
2 files changed, 8 insertions, 6 deletions
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.c b/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.c
index cebcc01f9b..59a8f384b3 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.c
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.c
@@ -841,12 +841,12 @@ Returns:
//
// Output the calling arguments
//
- printf ("\n\n");
- for (Index = 0; Index < argc; Index++) {
- printf ("%s ", argv[Index]);
- }
-
- printf ("\n\n");
+ //printf ("\n\n");
+ //for (Index = 0; Index < argc; Index++) {
+ // printf ("%s ", argv[Index]);
+ //}
+ //
+ //printf ("\n\n");
if (argc < 5) {
printf ("Not enough arguments\n");
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/makefile b/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/makefile
index 4faceb1802..504935305e 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/makefile
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/makefile
@@ -80,11 +80,13 @@ $(TARGET_EXE): $(EFI_PLATFORM_BIN)\Tools\$(TARGET_NAME).exe
!ELSE
$(TARGET_EXE): $(EDK_TOOLS_OUTPUT)\$(TARGET_NAME).obj $(TARGET_LIB)
$(LINK) $(MSVS_LINK_LIBPATHS) $(L_FLAGS) $(LIBS) /out:$(TARGET_EXE) $(EDK_TOOLS_OUTPUT)\$(TARGET_NAME).obj $(TARGET_LIB)
+!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
#
# Build LIB