mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-22 07:57:39 +00:00
Add libfdt
This commit is contained in:
parent
9f6205f47f
commit
8516ebe6f5
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -16,3 +16,6 @@
|
|||||||
[submodule "jni/busybox"]
|
[submodule "jni/busybox"]
|
||||||
path = jni/external/busybox
|
path = jni/external/busybox
|
||||||
url = https://github.com/topjohnwu/ndk-busybox.git
|
url = https://github.com/topjohnwu/ndk-busybox.git
|
||||||
|
[submodule "jni/external/dtc"]
|
||||||
|
path = jni/external/dtc
|
||||||
|
url = https://github.com/dgibson/dtc
|
||||||
|
16
jni/external/Android.mk
vendored
16
jni/external/Android.mk
vendored
@ -14,6 +14,22 @@ LOCAL_C_INCLUDES := $(LIBSELINUX)
|
|||||||
LOCAL_SRC_FILES := stubs/selinux_stub.c
|
LOCAL_SRC_FILES := stubs/selinux_stub.c
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
||||||
|
# libfdt
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
LOCAL_MODULE:= libfdt
|
||||||
|
LOCAL_C_INCLUDES := $(LIBFDT)
|
||||||
|
LOCAL_SRC_FILES := \
|
||||||
|
dtc/libfdt/fdt.c \
|
||||||
|
dtc/libfdt/fdt_addresses.c \
|
||||||
|
dtc/libfdt/fdt_empty_tree.c \
|
||||||
|
dtc/libfdt/fdt_overlay.c \
|
||||||
|
dtc/libfdt/fdt_ro.c \
|
||||||
|
dtc/libfdt/fdt_rw.c \
|
||||||
|
dtc/libfdt/fdt_strerror.c \
|
||||||
|
dtc/libfdt/fdt_sw.c \
|
||||||
|
dtc/libfdt/fdt_wip.c
|
||||||
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
|
|
||||||
# libsepol, static library
|
# libsepol, static library
|
||||||
include $(SELINUX_PATH)/libsepol/Android.mk
|
include $(SELINUX_PATH)/libsepol/Android.mk
|
||||||
|
|
||||||
|
1
jni/external/dtc
vendored
Submodule
1
jni/external/dtc
vendored
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit fe50bd1ecc1da273a7627a76dcd38da9d77e496f
|
Loading…
x
Reference in New Issue
Block a user