Joe Onorato | 6396e70 | 2012-05-31 23:21:46 -0700 | [diff] [blame] | 1 | # Copyright (C) 2007 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 14 | |
Joe Onorato | 6396e70 | 2012-05-31 23:21:46 -0700 | [diff] [blame] | 15 | LOCAL_PATH := $(call my-dir) |
| 16 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 17 | TARGET_RECOVERY_GUI := true |
Joe Onorato | 6396e70 | 2012-05-31 23:21:46 -0700 | [diff] [blame] | 18 | |
| 19 | include $(CLEAR_VARS) |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 20 | LOCAL_SRC_FILES := \ |
Doug Zongker | 28ce47c | 2011-10-28 10:33:05 -0700 | [diff] [blame] | 21 | recovery.cpp \ |
Dees_Troy | 7c2dec8 | 2012-09-26 09:49:14 -0400 | [diff] [blame] | 22 | twbootloader.cpp \ |
Doug Zongker | 28ce47c | 2011-10-28 10:33:05 -0700 | [diff] [blame] | 23 | install.cpp \ |
| 24 | roots.cpp \ |
Doug Zongker | 32a0a47 | 2011-11-01 11:00:20 -0700 | [diff] [blame] | 25 | ui.cpp \ |
Doug Zongker | 211aebc | 2011-10-28 15:13:10 -0700 | [diff] [blame] | 26 | screen_ui.cpp \ |
Doug Zongker | 9270a20 | 2012-01-09 15:16:13 -0800 | [diff] [blame] | 27 | verifier.cpp \ |
bigbiff bigbiff | a0f8a59 | 2012-10-09 21:01:03 -0400 | [diff] [blame] | 28 | fixPermissions.cpp \ |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 29 | twrpTar.cpp \ |
Doug Zongker | 9270a20 | 2012-01-09 15:16:13 -0800 | [diff] [blame] | 30 | adb_install.cpp |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 31 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 32 | LOCAL_SRC_FILES += \ |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 33 | data.cpp \ |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 34 | partition.cpp \ |
| 35 | partitionmanager.cpp \ |
Dees_Troy | 32c8eb8 | 2012-09-11 15:28:06 -0400 | [diff] [blame] | 36 | mtdutils/mtdutils.c \ |
| 37 | twinstall.cpp \ |
Dees_Troy | 812660f | 2012-09-20 09:55:17 -0400 | [diff] [blame] | 38 | twrp-functions.cpp \ |
| 39 | openrecoveryscript.cpp |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 40 | |
Dees_Troy | a58bead | 2012-09-27 09:49:29 -0400 | [diff] [blame] | 41 | ifneq ($(TARGET_RECOVERY_REBOOT_SRC),) |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 42 | LOCAL_SRC_FILES += $(TARGET_RECOVERY_REBOOT_SRC) |
| 43 | endif |
| 44 | |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 45 | LOCAL_MODULE := recovery |
| 46 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 47 | #LOCAL_FORCE_STATIC_EXECUTABLE := true |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 48 | |
Doug Zongker | e08991e | 2010-02-02 13:09:52 -0800 | [diff] [blame] | 49 | RECOVERY_API_VERSION := 3 |
Doug Zongker | fb2e3af | 2009-06-17 17:29:40 -0700 | [diff] [blame] | 50 | LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION) |
| 51 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 52 | #LOCAL_STATIC_LIBRARIES := \ |
| 53 | # libext4_utils \ |
| 54 | # libminzip \ |
| 55 | # libmtdutils \ |
| 56 | # libmincrypt \ |
| 57 | # libminadbd \ |
| 58 | # libpixelflinger_static |
| 59 | |
| 60 | LOCAL_C_INCLUDES += bionic external/stlport/stlport |
| 61 | |
| 62 | LOCAL_STATIC_LIBRARIES := |
| 63 | LOCAL_SHARED_LIBRARIES := |
| 64 | |
| 65 | LOCAL_STATIC_LIBRARIES += libmtdutils |
Dees_Troy | 43d8b00 | 2012-09-17 16:00:01 -0400 | [diff] [blame] | 66 | LOCAL_STATIC_LIBRARIES += libminadbd libminzip libunz |
Dees_Troy | 7d15c25 | 2012-09-05 20:47:21 -0400 | [diff] [blame] | 67 | LOCAL_STATIC_LIBRARIES += libminuitwrp libpixelflinger_static libpng libjpegtwrp libgui |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 68 | LOCAL_SHARED_LIBRARIES += libz libc libstlport libcutils libstdc++ libmincrypt libext4_utils libtar |
Doug Zongker | 49c73a7 | 2010-06-29 17:36:28 -0700 | [diff] [blame] | 69 | |
Dees_Troy | 4546fe7 | 2013-01-10 14:33:27 +0000 | [diff] [blame] | 70 | ifneq ($(wildcard system/core/libsparse/Android.mk),) |
| 71 | LOCAL_SHARED_LIBRARIES += libsparse |
| 72 | endif |
| 73 | |
Doug Zongker | 49c73a7 | 2010-06-29 17:36:28 -0700 | [diff] [blame] | 74 | ifeq ($(TARGET_USERIMAGES_USE_EXT4), true) |
Joe Onorato | 6396e70 | 2012-05-31 23:21:46 -0700 | [diff] [blame] | 75 | LOCAL_CFLAGS += -DUSE_EXT4 |
| 76 | LOCAL_C_INCLUDES += system/extras/ext4_utils |
Dees_Troy | 43d8b00 | 2012-09-17 16:00:01 -0400 | [diff] [blame] | 77 | #LOCAL_STATIC_LIBRARIES += libext4_utils |
Doug Zongker | 49c73a7 | 2010-06-29 17:36:28 -0700 | [diff] [blame] | 78 | endif |
| 79 | |
Stephen Smalley | 1a11449 | 2012-01-13 07:59:51 -0500 | [diff] [blame] | 80 | ifeq ($(HAVE_SELINUX), true) |
Joe Onorato | 6396e70 | 2012-05-31 23:21:46 -0700 | [diff] [blame] | 81 | LOCAL_C_INCLUDES += external/libselinux/include |
| 82 | LOCAL_STATIC_LIBRARIES += libselinux |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 83 | LOCAL_CFLAGS += -DHAVE_SELINUX -g |
Stephen Smalley | 1a11449 | 2012-01-13 07:59:51 -0500 | [diff] [blame] | 84 | endif # HAVE_SELINUX |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 85 | |
| 86 | # This binary is in the recovery ramdisk, which is otherwise a copy of root. |
| 87 | # It gets copied there in config/Makefile. LOCAL_MODULE_TAGS suppresses |
| 88 | # a (redundant) copy of the binary in /system/bin for user builds. |
| 89 | # TODO: Build the ramdisk image in a more principled way. |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 90 | LOCAL_MODULE_TAGS := eng |
| 91 | |
Doug Zongker | ddd6a28 | 2009-06-09 12:22:33 -0700 | [diff] [blame] | 92 | ifeq ($(TARGET_RECOVERY_UI_LIB),) |
Doug Zongker | daefc1d | 2011-10-31 09:34:15 -0700 | [diff] [blame] | 93 | LOCAL_SRC_FILES += default_device.cpp |
Doug Zongker | ddd6a28 | 2009-06-09 12:22:33 -0700 | [diff] [blame] | 94 | else |
| 95 | LOCAL_STATIC_LIBRARIES += $(TARGET_RECOVERY_UI_LIB) |
| 96 | endif |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 97 | |
Doug Zongker | cc8cd3f | 2010-09-20 12:16:13 -0700 | [diff] [blame] | 98 | LOCAL_C_INCLUDES += system/extras/ext4_utils |
| 99 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 100 | #TWRP Build Flags |
| 101 | ifeq ($(BOARD_HAS_NO_REAL_SDCARD), true) |
| 102 | LOCAL_CFLAGS += -DBOARD_HAS_NO_REAL_SDCARD |
| 103 | endif |
| 104 | ifneq ($(SP1_NAME),) |
| 105 | LOCAL_CFLAGS += -DSP1_NAME=$(SP1_NAME) -DSP1_BACKUP_METHOD=$(SP1_BACKUP_METHOD) -DSP1_MOUNTABLE=$(SP1_MOUNTABLE) |
| 106 | endif |
| 107 | ifneq ($(SP1_DISPLAY_NAME),) |
| 108 | LOCAL_CFLAGS += -DSP1_DISPLAY_NAME=$(SP1_DISPLAY_NAME) |
| 109 | endif |
| 110 | ifneq ($(SP2_NAME),) |
| 111 | LOCAL_CFLAGS += -DSP2_NAME=$(SP2_NAME) -DSP2_BACKUP_METHOD=$(SP2_BACKUP_METHOD) -DSP2_MOUNTABLE=$(SP2_MOUNTABLE) |
| 112 | endif |
| 113 | ifneq ($(SP2_DISPLAY_NAME),) |
| 114 | LOCAL_CFLAGS += -DSP2_DISPLAY_NAME=$(SP2_DISPLAY_NAME) |
| 115 | endif |
| 116 | ifneq ($(SP3_NAME),) |
| 117 | LOCAL_CFLAGS += -DSP3_NAME=$(SP3_NAME) -DSP3_BACKUP_METHOD=$(SP3_BACKUP_METHOD) -DSP3_MOUNTABLE=$(SP3_MOUNTABLE) |
| 118 | endif |
| 119 | ifneq ($(SP3_DISPLAY_NAME),) |
| 120 | LOCAL_CFLAGS += -DSP3_DISPLAY_NAME=$(SP3_DISPLAY_NAME) |
| 121 | endif |
| 122 | ifneq ($(RECOVERY_SDCARD_ON_DATA),) |
| 123 | LOCAL_CFLAGS += -DRECOVERY_SDCARD_ON_DATA |
| 124 | endif |
| 125 | ifneq ($(TW_INCLUDE_DUMLOCK),) |
| 126 | LOCAL_CFLAGS += -DTW_INCLUDE_DUMLOCK |
| 127 | endif |
| 128 | ifneq ($(TW_INTERNAL_STORAGE_PATH),) |
| 129 | LOCAL_CFLAGS += -DTW_INTERNAL_STORAGE_PATH=$(TW_INTERNAL_STORAGE_PATH) |
| 130 | endif |
| 131 | ifneq ($(TW_INTERNAL_STORAGE_MOUNT_POINT),) |
| 132 | LOCAL_CFLAGS += -DTW_INTERNAL_STORAGE_MOUNT_POINT=$(TW_INTERNAL_STORAGE_MOUNT_POINT) |
| 133 | endif |
| 134 | ifneq ($(TW_EXTERNAL_STORAGE_PATH),) |
| 135 | LOCAL_CFLAGS += -DTW_EXTERNAL_STORAGE_PATH=$(TW_EXTERNAL_STORAGE_PATH) |
| 136 | endif |
| 137 | ifneq ($(TW_EXTERNAL_STORAGE_MOUNT_POINT),) |
| 138 | LOCAL_CFLAGS += -DTW_EXTERNAL_STORAGE_MOUNT_POINT=$(TW_EXTERNAL_STORAGE_MOUNT_POINT) |
| 139 | endif |
| 140 | ifeq ($(TW_HAS_NO_RECOVERY_PARTITION), true) |
| 141 | LOCAL_CFLAGS += -DTW_HAS_NO_RECOVERY_PARTITION |
| 142 | endif |
| 143 | ifeq ($(TW_NO_REBOOT_BOOTLOADER), true) |
| 144 | LOCAL_CFLAGS += -DTW_NO_REBOOT_BOOTLOADER |
| 145 | endif |
| 146 | ifeq ($(TW_NO_REBOOT_RECOVERY), true) |
| 147 | LOCAL_CFLAGS += -DTW_NO_REBOOT_RECOVERY |
| 148 | endif |
| 149 | ifeq ($(TW_NO_BATT_PERCENT), true) |
| 150 | LOCAL_CFLAGS += -DTW_NO_BATT_PERCENT |
| 151 | endif |
| 152 | ifneq ($(TW_CUSTOM_POWER_BUTTON),) |
| 153 | LOCAL_CFLAGS += -DTW_CUSTOM_POWER_BUTTON=$(TW_CUSTOM_POWER_BUTTON) |
| 154 | endif |
| 155 | ifeq ($(TW_ALWAYS_RMRF), true) |
| 156 | LOCAL_CFLAGS += -DTW_ALWAYS_RMRF |
| 157 | endif |
| 158 | ifeq ($(TW_NEVER_UNMOUNT_SYSTEM), true) |
| 159 | LOCAL_CFLAGS += -DTW_NEVER_UNMOUNT_SYSTEM |
| 160 | endif |
| 161 | ifeq ($(TW_NO_USB_STORAGE), true) |
| 162 | LOCAL_CFLAGS += -DTW_NO_USB_STORAGE |
| 163 | endif |
| 164 | ifeq ($(TW_INCLUDE_INJECTTWRP), true) |
| 165 | LOCAL_CFLAGS += -DTW_INCLUDE_INJECTTWRP |
| 166 | endif |
| 167 | ifeq ($(TW_INCLUDE_BLOBPACK), true) |
| 168 | LOCAL_CFLAGS += -DTW_INCLUDE_BLOBPACK |
| 169 | endif |
| 170 | ifeq ($(TW_DEFAULT_EXTERNAL_STORAGE), true) |
| 171 | LOCAL_CFLAGS += -DTW_DEFAULT_EXTERNAL_STORAGE |
| 172 | endif |
| 173 | ifneq ($(TARGET_USE_CUSTOM_LUN_FILE_PATH),) |
| 174 | LOCAL_CFLAGS += -DCUSTOM_LUN_FILE=\"$(TARGET_USE_CUSTOM_LUN_FILE_PATH)\" |
| 175 | endif |
| 176 | ifneq ($(BOARD_UMS_LUNFILE),) |
| 177 | LOCAL_CFLAGS += -DCUSTOM_LUN_FILE=\"$(BOARD_UMS_LUNFILE)\" |
| 178 | endif |
| 179 | #ifeq ($(TW_FLASH_FROM_STORAGE), true) Making this the default behavior |
| 180 | LOCAL_CFLAGS += -DTW_FLASH_FROM_STORAGE |
| 181 | #endif |
| 182 | ifeq ($(TW_HAS_DOWNLOAD_MODE), true) |
| 183 | LOCAL_CFLAGS += -DTW_HAS_DOWNLOAD_MODE |
| 184 | endif |
| 185 | ifeq ($(TW_SDEXT_NO_EXT4), true) |
| 186 | LOCAL_CFLAGS += -DTW_SDEXT_NO_EXT4 |
| 187 | endif |
Dees_Troy | fdf5fcc | 2012-09-11 10:27:01 -0400 | [diff] [blame] | 188 | ifeq ($(TW_FORCE_CPUINFO_FOR_DEVICE_ID), true) |
| 189 | LOCAL_CFLAGS += -DTW_FORCE_CPUINFO_FOR_DEVICE_ID |
| 190 | endif |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 191 | ifeq ($(TW_INCLUDE_CRYPTO), true) |
| 192 | LOCAL_CFLAGS += -DTW_INCLUDE_CRYPTO |
| 193 | LOCAL_CFLAGS += -DCRYPTO_FS_TYPE=\"$(TW_CRYPTO_FS_TYPE)\" |
| 194 | LOCAL_CFLAGS += -DCRYPTO_REAL_BLKDEV=\"$(TW_CRYPTO_REAL_BLKDEV)\" |
| 195 | LOCAL_CFLAGS += -DCRYPTO_MNT_POINT=\"$(TW_CRYPTO_MNT_POINT)\" |
| 196 | LOCAL_CFLAGS += -DCRYPTO_FS_OPTIONS=\"$(TW_CRYPTO_FS_OPTIONS)\" |
| 197 | LOCAL_CFLAGS += -DCRYPTO_FS_FLAGS=\"$(TW_CRYPTO_FS_FLAGS)\" |
| 198 | LOCAL_CFLAGS += -DCRYPTO_KEY_LOC=\"$(TW_CRYPTO_KEY_LOC)\" |
a3955269 | 6ff55ce | 2013-01-08 16:14:56 +0000 | [diff] [blame] | 199 | ifeq ($(TW_INCLUDE_CRYPTO_SAMSUNG), true) |
| 200 | LOCAL_CFLAGS += -DTW_INCLUDE_CRYPTO_SAMSUNG=\"$(TW_INCLUDE_CRYPTO_SAMSUNG)\" |
| 201 | ifdef TW_CRYPTO_SD_REAL_BLKDEV |
| 202 | LOCAL_CFLAGS += -DCRYPTO_SD_REAL_BLKDEV=\"$(TW_CRYPTO_SD_REAL_BLKDEV)\" |
| 203 | LOCAL_CFLAGS += -DCRYPTO_SD_FS_TYPE=\"$(TW_CRYPTO_SD_FS_TYPE)\" |
| 204 | endif |
| 205 | #LOCAL_LDFLAGS += -L$(TARGET_OUT_SHARED_LIBRARIES) -lsec_km |
| 206 | LOCAL_LDFLAGS += -ldl |
| 207 | LOCAL_STATIC_LIBRARIES += libcrypt_samsung |
| 208 | endif |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 209 | LOCAL_SHARED_LIBRARIES += libcrypto |
| 210 | LOCAL_SRC_FILES += crypto/ics/cryptfs.c |
| 211 | LOCAL_C_INCLUDES += system/extras/ext4_utils external/openssl/include |
| 212 | endif |
| 213 | ifeq ($(TW_INCLUDE_JB_CRYPTO), true) |
| 214 | LOCAL_CFLAGS += -DTW_INCLUDE_CRYPTO |
| 215 | LOCAL_CFLAGS += -DTW_INCLUDE_JB_CRYPTO |
| 216 | LOCAL_SHARED_LIBRARIES += libcrypto |
| 217 | LOCAL_STATIC_LIBRARIES += libfs_mgrtwrp |
| 218 | LOCAL_SRC_FILES += crypto/jb/cryptfs.c |
| 219 | LOCAL_C_INCLUDES += system/extras/ext4_utils external/openssl/include |
| 220 | endif |
| 221 | |
Sergey 'Jin' Bostandzhyan | 80a90ed | 2013-01-04 02:29:03 +0100 | [diff] [blame] | 222 | ifeq ($(TARGET_BOARD_PLATFORM),rk30xx) |
| 223 | LOCAL_CFLAGS += -DRK3066 |
| 224 | endif |
| 225 | |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 226 | include $(BUILD_EXECUTABLE) |
| 227 | |
Doug Zongker | 73ae31c | 2009-12-09 17:01:45 -0800 | [diff] [blame] | 228 | include $(CLEAR_VARS) |
Dees_Troy | c04dcf7 | 2012-10-02 10:46:37 -0400 | [diff] [blame] | 229 | # Create busybox symlinks... gzip and gunzip are excluded because those need to link to pigz instead |
| 230 | BUSYBOX_LINKS := $(shell cat external/busybox/busybox-full.links) |
| 231 | exclude := tune2fs mke2fs mkdosfs gzip gunzip |
| 232 | RECOVERY_BUSYBOX_SYMLINKS := $(addprefix $(TARGET_RECOVERY_ROOT_OUT)/sbin/,$(filter-out $(exclude),$(notdir $(BUSYBOX_LINKS)))) |
| 233 | $(RECOVERY_BUSYBOX_SYMLINKS): BUSYBOX_BINARY := busybox |
| 234 | $(RECOVERY_BUSYBOX_SYMLINKS): $(LOCAL_INSTALLED_MODULE) |
| 235 | @echo "Symlink: $@ -> $(BUSYBOX_BINARY)" |
| 236 | @mkdir -p $(dir $@) |
| 237 | @rm -rf $@ |
| 238 | $(hide) ln -sf $(BUSYBOX_BINARY) $@ |
| 239 | |
| 240 | ALL_DEFAULT_INSTALLED_MODULES += $(RECOVERY_BUSYBOX_SYMLINKS) |
| 241 | |
| 242 | include $(CLEAR_VARS) |
Doug Zongker | daefc1d | 2011-10-31 09:34:15 -0700 | [diff] [blame] | 243 | LOCAL_MODULE := verifier_test |
Doug Zongker | daefc1d | 2011-10-31 09:34:15 -0700 | [diff] [blame] | 244 | LOCAL_FORCE_STATIC_EXECUTABLE := true |
Doug Zongker | daefc1d | 2011-10-31 09:34:15 -0700 | [diff] [blame] | 245 | LOCAL_MODULE_TAGS := tests |
Joe Onorato | 6396e70 | 2012-05-31 23:21:46 -0700 | [diff] [blame] | 246 | LOCAL_SRC_FILES := \ |
| 247 | verifier_test.cpp \ |
| 248 | verifier.cpp \ |
| 249 | ui.cpp |
| 250 | LOCAL_STATIC_LIBRARIES := \ |
| 251 | libmincrypt \ |
| 252 | libminui \ |
| 253 | libcutils \ |
| 254 | libstdc++ \ |
| 255 | libc |
Doug Zongker | daefc1d | 2011-10-31 09:34:15 -0700 | [diff] [blame] | 256 | include $(BUILD_EXECUTABLE) |
Doug Zongker | 73ae31c | 2009-12-09 17:01:45 -0800 | [diff] [blame] | 257 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 258 | commands_recovery_local_path := $(LOCAL_PATH) |
Joe Onorato | 6396e70 | 2012-05-31 23:21:46 -0700 | [diff] [blame] | 259 | include $(LOCAL_PATH)/minui/Android.mk \ |
| 260 | $(LOCAL_PATH)/minelf/Android.mk \ |
| 261 | $(LOCAL_PATH)/minzip/Android.mk \ |
| 262 | $(LOCAL_PATH)/minadbd/Android.mk \ |
Joe Onorato | 6396e70 | 2012-05-31 23:21:46 -0700 | [diff] [blame] | 263 | $(LOCAL_PATH)/tools/Android.mk \ |
| 264 | $(LOCAL_PATH)/edify/Android.mk \ |
| 265 | $(LOCAL_PATH)/updater/Android.mk \ |
| 266 | $(LOCAL_PATH)/applypatch/Android.mk |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 267 | |
| 268 | #includes for TWRP |
| 269 | include $(commands_recovery_local_path)/libjpegtwrp/Android.mk \ |
| 270 | $(commands_recovery_local_path)/injecttwrp/Android.mk \ |
| 271 | $(commands_recovery_local_path)/htcdumlock/Android.mk \ |
| 272 | $(commands_recovery_local_path)/minuitwrp/Android.mk \ |
| 273 | $(commands_recovery_local_path)/gui/Android.mk \ |
| 274 | $(commands_recovery_local_path)/mmcutils/Android.mk \ |
| 275 | $(commands_recovery_local_path)/bmlutils/Android.mk \ |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 276 | $(commands_recovery_local_path)/prebuilt/Android.mk \ |
| 277 | $(commands_recovery_local_path)/mtdutils/Android.mk \ |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 278 | $(commands_recovery_local_path)/flashutils/Android.mk \ |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 279 | $(commands_recovery_local_path)/pigz/Android.mk \ |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 280 | $(commands_recovery_local_path)/dosfstools/Android.mk \ |
| 281 | $(commands_recovery_local_path)/libtar/Android.mk \ |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 282 | $(commands_recovery_local_path)/crypto/cryptsettings/Android.mk \ |
a3955269 | 6ff55ce | 2013-01-08 16:14:56 +0000 | [diff] [blame] | 283 | $(commands_recovery_local_path)/crypto/cryptfs/Android.mk \ |
Dees_Troy | b9d88ac | 2012-09-14 14:34:19 -0400 | [diff] [blame] | 284 | $(commands_recovery_local_path)/libcrecovery/Android.mk \ |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 285 | $(commands_recovery_local_path)/twmincrypt/Android.mk \ |
Dees_Troy | b9d88ac | 2012-09-14 14:34:19 -0400 | [diff] [blame] | 286 | |
a3955269 | 6ff55ce | 2013-01-08 16:14:56 +0000 | [diff] [blame] | 287 | ifeq ($(TW_INCLUDE_CRYPTO_SAMSUNG), true) |
| 288 | include $(commands_recovery_local_path)/crypto/libcrypt_samsung/Android.mk |
| 289 | endif |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 290 | |
| 291 | ifeq ($(TW_INCLUDE_JB_CRYPTO), true) |
| 292 | include $(commands_recovery_local_path)/crypto/fs_mgr/Android.mk |
| 293 | endif |
| 294 | |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 295 | ifeq ($(TW_INCLUDE_EXFAT), true) |
| 296 | include $(commands_recovery_local_path)/fuse/Android.mk |
| 297 | include $(commands_recovery_local_path)/exfat/libexfat/Android.mk |
| 298 | include $(commands_recovery_local_path)/exfat/exfat-fuse/Android.mk |
| 299 | include $(commands_recovery_local_path)/exfat/mkfs/Android.mk |
| 300 | endif |
| 301 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 302 | commands_recovery_local_path := |