Fix build script
This commit is contained in:
parent
3e0b1df46d
commit
bf80b08b5f
6
build.py
6
build.py
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user