Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
6953cc24
Commit
6953cc24
authored
Apr 05, 2019
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use separate flags for 64-bit
parent
6a0b2dde
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
build.py
build.py
+2
-2
Application.mk
native/jni/Application.mk
+2
-2
No files found.
build.py
View file @
6953cc24
...
@@ -203,7 +203,7 @@ def build_binary(args):
...
@@ -203,7 +203,7 @@ def build_binary(args):
base_flags
+=
' MAGISK_DEBUG=1'
base_flags
+=
' MAGISK_DEBUG=1'
if
'magisk'
in
args
.
target
:
if
'magisk'
in
args
.
target
:
run_ndk_build
(
'B_MAGISK=1'
)
run_ndk_build
(
'B_MAGISK=1
B_64BIT=1
'
)
# Dump the binary to header
# Dump the binary to header
for
arch
in
archs
:
for
arch
in
archs
:
bin_file
=
os
.
path
.
join
(
'native'
,
'out'
,
arch
,
'magisk'
)
bin_file
=
os
.
path
.
join
(
'native'
,
'out'
,
arch
,
'magisk'
)
...
@@ -231,7 +231,7 @@ def build_binary(args):
...
@@ -231,7 +231,7 @@ def build_binary(args):
run_ndk_build
(
'B_BOOT=1'
)
run_ndk_build
(
'B_BOOT=1'
)
if
'test'
in
args
.
target
:
if
'test'
in
args
.
target
:
run_ndk_build
(
'B_TEST=1'
)
run_ndk_build
(
'B_TEST=1
B_64BIT=1
'
)
def
build_apk
(
args
,
module
):
def
build_apk
(
args
,
module
):
...
...
native/jni/Application.mk
View file @
6953cc24
...
@@ -10,8 +10,8 @@ ifdef MAGISK_DEBUG
...
@@ -10,8 +10,8 @@ ifdef MAGISK_DEBUG
APP_CFLAGS += -D__MDBG
APP_CFLAGS += -D__MDBG
endif
endif
# Build 64 bit binaries
for magisk
# Build 64 bit binaries
ifdef B_
MAGISK
ifdef B_
64BIT
APP_ABI += arm64-v8a x86_64
APP_ABI += arm64-v8a x86_64
endif
endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment