diff options
author | Andrei Homescu <ahomescu@google.com> | 2023-12-05 23:12:40 +0000 |
---|---|---|
committer | Andrei Homescu <ahomescu@google.com> | 2023-12-05 23:12:40 +0000 |
commit | e91af194dffd3c9ce098a252749e96e6d3c53ebb (patch) | |
tree | 6ad8c20aa93f3eebe853316d6c0c7060bb55201c | |
parent | e2dd310f49138d7631cf51e817950ce86616b160 (diff) | |
download | aosp-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-x | scripts/build.py | 2 |
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") |