Commit bf80b08b authored by topjohnwu's avatar topjohnwu

Fix build script

parent 3e0b1df4
...@@ -303,6 +303,9 @@ def build_binary(args): ...@@ -303,6 +303,9 @@ def build_binary(args):
if 'test' in args.target: if 'test' in args.target:
run_ndk_build('B_TEST=1 B_64BIT=1') 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 # 32-bit only targets can be built in one command
flag = '' flag = ''
...@@ -319,9 +322,6 @@ def build_binary(args): ...@@ -319,9 +322,6 @@ def build_binary(args):
if 'magiskboot' in args.target: if 'magiskboot' in args.target:
flag += ' B_BOOT=1' flag += ' B_BOOT=1'
if 'busybox' in args.target:
flag += ' B_BB=1'
if flag: if flag:
run_ndk_build(flag) run_ndk_build(flag)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment