1 LOCAL_PATH := $(call my-dir)
3 #########################################################################
4 # Build statically linked mke2fs for recovery
12 mke2fs_c_includes := \
13 external/e2fsprogs/e2fsck
15 mke2fs_cflags := -W -Wall -Werror -Wno-macro-redefined
17 mke2fs_static_libraries := \
26 mke2fs_whole_static_libraries := \
32 LOCAL_SRC_FILES := $(mke2fs_src_files)
33 LOCAL_C_INCLUDES := $(mke2fs_c_includes)
34 LOCAL_CFLAGS := $(mke2fs_cflags)
35 LOCAL_WHOLE_STATIC_LIBRARIES := $(mke2fs_whole_static_libraries)
36 LOCAL_STATIC_LIBRARIES := $(mke2fs_static_libraries)
37 LOCAL_MODULE := mke2fs_static
38 LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
39 LOCAL_FORCE_STATIC_EXECUTABLE := true
41 include $(BUILD_EXECUTABLE)