Commit 8516ebe6 authored by topjohnwu's avatar topjohnwu

Add libfdt

parent 9f6205f4
...@@ -16,3 +16,6 @@ ...@@ -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
...@@ -14,6 +14,22 @@ LOCAL_C_INCLUDES := $(LIBSELINUX) ...@@ -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
......
Subproject commit fe50bd1ecc1da273a7627a76dcd38da9d77e496f
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