Skip to content

Commit

Permalink
Fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
topjohnwu committed Mar 7, 2021
1 parent 3e0b1df commit bf80b08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,9 @@ def build_binary(args):
if 'test' in args.target:
run_ndk_build('B_TEST=1 B_64BIT=1')

if 'busybox' in args.target:
run_ndk_build('B_BB=1')

# 32-bit only targets can be built in one command
flag = ''

Expand All @@ -319,9 +322,6 @@ def build_binary(args):
if 'magiskboot' in args.target:
flag += ' B_BOOT=1'

if 'busybox' in args.target:
flag += ' B_BB=1'

if flag:
run_ndk_build(flag)

Expand Down

0 comments on commit bf80b08

Please sign in to comment.