summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Homescu <ahomescu@google.com>2023-12-05 23:12:40 +0000
committerAndrei Homescu <ahomescu@google.com>2023-12-05 23:12:40 +0000
commite91af194dffd3c9ce098a252749e96e6d3c53ebb (patch)
tree6ad8c20aa93f3eebe853316d6c0c7060bb55201c
parente2dd310f49138d7631cf51e817950ce86616b160 (diff)
downloadaosp-e91af194dffd3c9ce098a252749e96e6d3c53ebb.tar.gz
Use make from prebuilts
make is available as a prebuilt in tree. Use that binary instead of the system one since the latter might be too old or completely missing. Bug: 230374325 Change-Id: I10a39b23908bf565f57769fe688d5d9ee8cefe53
-rwxr-xr-xscripts/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build.py b/scripts/build.py
index 358fcce..d466d85 100755
--- a/scripts/build.py
+++ b/scripts/build.py
@@ -284,7 +284,7 @@ def build(args):
for project in args.project:
cmd = (f'export BUILDROOT={args.build_root};'
- f'export BUILDID={args.buildid}; nice make {project} '
+ f'export BUILDID={args.buildid}; nice $BUILDTOOLS_BINDIR/make {project} '
f'-f external/lk/makefile -j {args.jobs}')
# Call envsetup. If it fails, abort.
envsetup = os.path.join(script_dir, "envsetup.sh")