blob: f638e98c2a6907f8078732943bf7313276766b55 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001# Copyright 2011 The Android Open Source Project
Dees Troy4dff2e62013-11-10 04:11:43 +00002
Dees_Troy51a0e822012-09-05 15:24:24 -04003LOCAL_PATH:= $(call my-dir)
4include $(CLEAR_VARS)
5
Dees Troy4dff2e62013-11-10 04:11:43 +00006LOCAL_SRC_FILES:= fs_mgr.c fs_mgr_verity.c
Dees_Troy51a0e822012-09-05 15:24:24 -04007
8LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
9
10LOCAL_MODULE:= libfs_mgrtwrp
Dees Troy4dff2e62013-11-10 04:11:43 +000011LOCAL_SHARED_LIBRARIES := libext4_utils
12LOCAL_STATIC_LIBRARIES := liblogwraptwrp libmincrypttwrp
13LOCAL_C_INCLUDES += system/extras/ext4_utils bootable/recovery/libmincrypt/includes
Dees_Troy51a0e822012-09-05 15:24:24 -040014LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
15
16include $(BUILD_STATIC_LIBRARY)
17
18
19
Dees Troy4dff2e62013-11-10 04:11:43 +000020include $(CLEAR_VARS)
Dees_Troy51a0e822012-09-05 15:24:24 -040021
Dees Troy4dff2e62013-11-10 04:11:43 +000022LOCAL_SRC_FILES:= fs_mgr_main.c
Dees_Troy51a0e822012-09-05 15:24:24 -040023
Dees Troy4dff2e62013-11-10 04:11:43 +000024LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
Dees_Troy51a0e822012-09-05 15:24:24 -040025
Dees Troy4dff2e62013-11-10 04:11:43 +000026LOCAL_MODULE:= fs_mgrtwrp
Dees_Troy51a0e822012-09-05 15:24:24 -040027
Dees Troy4dff2e62013-11-10 04:11:43 +000028LOCAL_MODULE_TAGS := optional
29LOCAL_FORCE_STATIC_EXECUTABLE := true
30LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)/sbin
31LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_UNSTRIPPED)
Dees_Troy51a0e822012-09-05 15:24:24 -040032
Dees Troy4dff2e62013-11-10 04:11:43 +000033LOCAL_STATIC_LIBRARIES := libfs_mgrtwrp liblogwraptwrp libcutils liblog libc libmincrypttwrp libext4_utils_static
Dees_Troy51a0e822012-09-05 15:24:24 -040034
Dees Troy4dff2e62013-11-10 04:11:43 +000035include $(BUILD_EXECUTABLE)
Dees_Troy51a0e822012-09-05 15:24:24 -040036