edk2: update to use "make" from prebuilts.
According to platform/build/+/master/Changes.md, restricted to use
external host tools (PATH) inside the build. Instead of invoking
"make" from the PATH invoke from a prebuilts location.
The Android build system no longer allows invocation of "make" from the path,
which produces the build error: "make" is not allowed to be used.
Change-Id: I0c7b394dc28fd0060ee4c5c5d94f7966cfec2d19
diff --git a/makefile b/makefile
index 320a64f..4024970 100644
--- a/makefile
+++ b/makefile
@@ -125,7 +125,7 @@
EDK_TOOLS_BIN:
@. ./edksetup.sh BaseTools && \
- $(MAKE) -C $(EDK_TOOLS) $(PREBUILT_HOST_TOOLS) -j1
+ $(MAKEPATH)make -C $(EDK_TOOLS) $(PREBUILT_HOST_TOOLS) -j1
ABL_FV_IMG: EDK_TOOLS_BIN
@. ./edksetup.sh BaseTools && \