mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 13:17:39 +02:00
Update to support updated FrankeNDK
This commit is contained in:
6
build.py
6
build.py
@ -218,9 +218,6 @@ def build_binary(args):
|
||||
with open(bin_file, 'rb') as src:
|
||||
binary_dump(src, out, 'magisk_xz')
|
||||
|
||||
if 'busybox' in args.target:
|
||||
run_ndk_build('B_BB=1')
|
||||
|
||||
if 'magiskinit' in args.target:
|
||||
if not os.path.exists(os.path.join('native', 'out', 'x86', 'binaries_arch.h')):
|
||||
error('Build "magisk" before building "magiskinit"')
|
||||
@ -235,6 +232,9 @@ def build_binary(args):
|
||||
if 'magiskboot' in args.target:
|
||||
run_ndk_build('B_BOOT=1')
|
||||
|
||||
if 'busybox' in args.target:
|
||||
run_ndk_build('B_BB=1')
|
||||
|
||||
if 'test' in args.target:
|
||||
run_ndk_build('B_TEST=1 B_64BIT=1')
|
||||
|
||||
|
Reference in New Issue
Block a user