mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 02:25:28 +00:00
c4d7001489
Use return values instead of creating a file to indicate a chromeos image Fix #264
31 lines
714 B
Makefile
31 lines
714 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := magiskboot
|
|
LOCAL_STATIC_LIBRARIES := libz liblzma liblz4 libbz2
|
|
LOCAL_C_INCLUDES := \
|
|
jni/utils \
|
|
jni/ndk-compression/zlib/ \
|
|
jni/ndk-compression/xz/src/liblzma/api/ \
|
|
jni/ndk-compression/lz4/lib/ \
|
|
jni/ndk-compression/bzip2/
|
|
|
|
LOCAL_SRC_FILES := \
|
|
main.c \
|
|
bootimg.c \
|
|
hexpatch.c \
|
|
compress.c \
|
|
boot_utils.c \
|
|
cpio.c \
|
|
sha1.c \
|
|
../utils/xwrap.c \
|
|
../utils/vector.c \
|
|
../utils/list.c
|
|
LOCAL_CFLAGS += -DZLIB_CONST
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
include jni/ndk-compression/zlib/Android.mk
|
|
include jni/ndk-compression/xz/src/liblzma/Android.mk
|
|
include jni/ndk-compression/lz4/lib/Android.mk
|
|
include jni/ndk-compression/bzip2/Android.mk
|