Fix build script

This commit is contained in:
topjohnwu 2021-03-07 04:34:06 -08:00
parent 3e0b1df46d
commit bf80b08b5f
1 changed files with 3 additions and 3 deletions

View File

@ -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 = ''
@ -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)