On FreeBSD GNU make is typically installed as gmake.  Support this by
using $(MAKE), the standard way to invoke a sub-make.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ed Maste <[email protected]>
---
 BaseTools/Source/C/VfrCompile/GNUmakefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/BaseTools/Source/C/VfrCompile/GNUmakefile 
b/BaseTools/Source/C/VfrCompile/GNUmakefile
index 82005e1..e446d14 100644
--- a/BaseTools/Source/C/VfrCompile/GNUmakefile
+++ b/BaseTools/Source/C/VfrCompile/GNUmakefile
@@ -53,10 +53,10 @@ VfrLexer.cpp VfrLexer.h: Pccts/dlg/dlg VfrParser.dlg
        Pccts/dlg/dlg -C2 -i -CC -cl VfrLexer -o . VfrParser.dlg

 

 Pccts/antlr/antlr:

-       BIN_DIR='.' make -C Pccts/antlr

+       BIN_DIR='.' $(MAKE) -C Pccts/antlr

 

 Pccts/dlg/dlg:

-       BIN_DIR='.' make -C Pccts/dlg

+       BIN_DIR='.' $(MAKE) -C Pccts/dlg

 

 ATokenBuffer.o: Pccts/h/ATokenBuffer.cpp

        $(CXX) -c $(VFR_CPPFLAGS) $(INC) $? -o $@

@@ -73,7 +73,7 @@ VfrSyntax.o: VfrSyntax.cpp
 clean: localClean

 

 localClean:

-       BIN_DIR='.' make -C Pccts/antlr clean

-       BIN_DIR='.' make -C Pccts/dlg clean

+       BIN_DIR='.' $(MAKE) -C Pccts/antlr clean

+       BIN_DIR='.' $(MAKE) -C Pccts/dlg clean

        rm -f $(EXTRA_CLEAN_OBJECTS)

 

-- 
1.9.0


------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
edk2-buildtools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel

Reply via email to