Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | |
| 3 | RELINK := $(LOCAL_PATH)/relink.sh |
| 4 | |
| 5 | #dummy file to trigger required modules |
| 6 | include $(CLEAR_VARS) |
| 7 | LOCAL_MODULE := teamwin |
| 8 | LOCAL_MODULE_TAGS := eng |
| 9 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 10 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
| 11 | |
Matt Mower | fb1c4ff | 2014-04-16 13:43:36 -0500 | [diff] [blame] | 12 | # Manage list |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 13 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/dump_image |
| 14 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/flash_image |
| 15 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/erase_image |
Ethan Yonker | 5c93369 | 2014-04-04 11:26:32 -0500 | [diff] [blame] | 16 | ifneq ($(TW_USE_TOOLBOX), true) |
| 17 | RELINK_SOURCE_FILES += $(TARGET_OUT_OPTIONAL_EXECUTABLES)/busybox |
| 18 | else |
| 19 | RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mksh |
| 20 | endif |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 21 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/pigz |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 22 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/dosfsck |
| 23 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/dosfslabel |
| 24 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/mkdosfs |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 25 | RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/e2fsck |
| 26 | RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mke2fs |
| 27 | RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/tune2fs |
| 28 | RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/linker |
bigbiff bigbiff | c7eee6f | 2014-09-02 18:59:01 -0400 | [diff] [blame] | 29 | #RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/twrpmtp |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 30 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libc.so |
| 31 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libcutils.so |
Ethan Yonker | c571747 | 2014-11-06 09:07:40 -0600 | [diff] [blame^] | 32 | # Not available in 5.0 |
| 33 | #RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libcorkscrew.so |
bigbiff bigbiff | c7eee6f | 2014-09-02 18:59:01 -0400 | [diff] [blame] | 34 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libusbhost.so |
| 35 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libgccdemangle.so |
| 36 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libutils.so |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 37 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libdl.so |
| 38 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libext2_blkid.so |
| 39 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libext2_com_err.so |
| 40 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libext2_e2p.so |
| 41 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libext2fs.so |
| 42 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libext2_profile.so |
| 43 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libext2_uuid.so |
Vojtech Bocek | 76ee903 | 2014-09-07 15:01:56 +0200 | [diff] [blame] | 44 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libpng.so |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 45 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/liblog.so |
| 46 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libm.so |
| 47 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libstdc++.so |
| 48 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libz.so |
Dees_Troy | 2673cec | 2013-04-02 20:22:16 +0000 | [diff] [blame] | 49 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libminuitwrp.so |
| 50 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libminadbd.so |
| 51 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libminzip.so |
| 52 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libmtdutils.so |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 53 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libtar.so |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 54 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libblkid.so |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 55 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libmmcutils.so |
| 56 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libbmlutils.so |
| 57 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libflashutils.so |
| 58 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libstlport.so |
Vojtech Bocek | 8593234 | 2013-04-01 22:11:33 +0200 | [diff] [blame] | 59 | #RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libmincrypt.so |
Dees Troy | 8d66f8b | 2013-10-08 14:04:55 +0000 | [diff] [blame] | 60 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/toolbox |
Ethan Yonker | 03a42f6 | 2014-08-08 11:03:51 -0500 | [diff] [blame] | 61 | ifneq ($(TW_OEM_BUILD),true) |
| 62 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/twrp |
bigbiff bigbiff | c7eee6f | 2014-09-02 18:59:01 -0400 | [diff] [blame] | 63 | else |
| 64 | TW_EXCLUDE_MTP := true |
| 65 | endif |
| 66 | ifneq ($(TW_EXCLUDE_MTP), true) |
| 67 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libtwrpmtp.so |
Ethan Yonker | 03a42f6 | 2014-08-08 11:03:51 -0500 | [diff] [blame] | 68 | endif |
Dees_Troy | a95f55c | 2013-08-17 13:14:43 +0000 | [diff] [blame] | 69 | ifeq ($(TARGET_USERIMAGES_USE_EXT4), true) |
| 70 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libext4_utils.so |
| 71 | endif |
Dees_Troy | 2673cec | 2013-04-02 20:22:16 +0000 | [diff] [blame] | 72 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libaosprecovery.so |
Dees_Troy | 930bf01 | 2013-08-10 22:19:03 +0000 | [diff] [blame] | 73 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libjpeg.so |
Dees Troy | 4bf3b0d | 2013-09-11 19:12:49 +0000 | [diff] [blame] | 74 | ifeq ($(TWHAVE_SELINUX), true) |
Dees_Troy | f2280ff | 2013-08-06 18:01:12 +0000 | [diff] [blame] | 75 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libselinux.so |
Dees_Troy | e3850a3 | 2013-08-29 18:33:47 +0000 | [diff] [blame] | 76 | ifneq ($(TARGET_USERIMAGES_USE_EXT4), true) |
| 77 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libext4_utils.so |
| 78 | endif |
Dees_Troy | f2280ff | 2013-08-06 18:01:12 +0000 | [diff] [blame] | 79 | endif |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 80 | ifeq ($(BUILD_ID), GINGERBREAD) |
| 81 | TW_NO_EXFAT := true |
| 82 | endif |
Dees_Troy | b05ddee | 2013-01-28 20:24:50 +0000 | [diff] [blame] | 83 | ifneq ($(TW_NO_EXFAT), true) |
Dees_Troy | b05ddee | 2013-01-28 20:24:50 +0000 | [diff] [blame] | 84 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/mkexfatfs |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 85 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libexfat.so |
Dees Troy | b4bd697 | 2014-10-09 18:47:00 +0000 | [diff] [blame] | 86 | else |
Captain Throwback | 6a1acf2 | 2014-09-18 12:46:35 -0400 | [diff] [blame] | 87 | TW_NO_EXFAT_FUSE := true |
| 88 | endif |
| 89 | ifneq ($(TW_NO_EXFAT_FUSE), true) |
| 90 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/exfat-fuse |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 91 | endif |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 92 | ifeq ($(TW_INCLUDE_BLOBPACK), true) |
| 93 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/blobpack |
| 94 | endif |
| 95 | ifeq ($(TW_INCLUDE_INJECTTWRP), true) |
| 96 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/injecttwrp |
| 97 | endif |
| 98 | ifeq ($(TW_INCLUDE_DUMLOCK), true) |
| 99 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/htcdumlock |
| 100 | endif |
| 101 | ifeq ($(TW_INCLUDE_CRYPTO), true) |
Dees_Troy | 2673cec | 2013-04-02 20:22:16 +0000 | [diff] [blame] | 102 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libcryptfsics.so |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 103 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libcrypto.so |
| 104 | endif |
| 105 | ifeq ($(TW_INCLUDE_JB_CRYPTO), true) |
Dees_Troy | 2673cec | 2013-04-02 20:22:16 +0000 | [diff] [blame] | 106 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libcryptfsjb.so |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 107 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libcrypto.so |
| 108 | endif |
Dees_Troy | 38bd760 | 2012-09-14 13:33:53 -0400 | [diff] [blame] | 109 | ifeq ($(TARGET_USERIMAGES_USE_EXT4), true) |
| 110 | RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/make_ext4fs |
| 111 | endif |
Dees_Troy | 4546fe7 | 2013-01-10 14:33:27 +0000 | [diff] [blame] | 112 | ifneq ($(wildcard system/core/libsparse/Android.mk),) |
| 113 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libsparse.so |
| 114 | endif |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 115 | ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS), true) |
| 116 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/openaes |
| 117 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libopenaes.so |
| 118 | endif |
Dees_Troy | e501704 | 2013-08-29 16:38:55 +0000 | [diff] [blame] | 119 | ifeq ($(TARGET_USERIMAGES_USE_F2FS), true) |
| 120 | RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mkfs.f2fs |
| 121 | RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/fsck.f2fs |
| 122 | RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/fibmap.f2fs |
| 123 | endif |
Dees Troy | 0226cd5 | 2013-11-04 14:12:35 +0000 | [diff] [blame] | 124 | ifneq ($(wildcard system/core/reboot/Android.mk),) |
| 125 | RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/reboot |
| 126 | endif |
Vojtech Bocek | 76ee903 | 2014-09-07 15:01:56 +0200 | [diff] [blame] | 127 | ifneq ($(TW_DISABLE_TTF), true) |
| 128 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libft2.so |
| 129 | endif |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 130 | |
| 131 | TWRP_AUTOGEN := $(intermediates)/teamwin |
| 132 | |
| 133 | GEN := $(intermediates)/teamwin |
| 134 | $(GEN): $(RELINK) |
| 135 | $(GEN): $(RELINK_SOURCE_FILES) $(call intermediates-dir-for,EXECUTABLES,recovery)/recovery |
| 136 | $(RELINK) $(TARGET_RECOVERY_ROOT_OUT)/sbin $(RELINK_SOURCE_FILES) |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 137 | |
| 138 | LOCAL_GENERATED_SOURCES := $(GEN) |
| 139 | LOCAL_SRC_FILES := teamwin $(GEN) |
| 140 | include $(BUILD_PREBUILT) |
| 141 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 142 | #fix_permissions |
| 143 | include $(CLEAR_VARS) |
| 144 | LOCAL_MODULE := fix_permissions.sh |
| 145 | LOCAL_MODULE_TAGS := eng |
| 146 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 147 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
| 148 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 149 | include $(BUILD_PREBUILT) |
| 150 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 151 | #mke2fs.conf |
| 152 | include $(CLEAR_VARS) |
| 153 | LOCAL_MODULE := mke2fs.conf |
| 154 | LOCAL_MODULE_TAGS := eng |
| 155 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 156 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/etc |
| 157 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 158 | include $(BUILD_PREBUILT) |
| 159 | |
| 160 | ifeq ($(BOARD_HAS_NO_REAL_SDCARD),) |
| 161 | #parted |
| 162 | include $(CLEAR_VARS) |
| 163 | LOCAL_MODULE := parted |
| 164 | LOCAL_MODULE_TAGS := eng |
| 165 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 166 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
| 167 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 168 | include $(BUILD_PREBUILT) |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 169 | endif |
| 170 | |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 171 | # copy license file for OpenAES |
| 172 | ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS), true) |
| 173 | include $(CLEAR_VARS) |
| 174 | LOCAL_MODULE := ../openaes/LICENSE |
| 175 | LOCAL_MODULE_TAGS := eng |
| 176 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 177 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/license/openaes |
| 178 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 179 | include $(BUILD_PREBUILT) |
| 180 | endif |
| 181 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 182 | ifeq ($(TW_INCLUDE_DUMLOCK), true) |
| 183 | #htcdumlock for /system for dumlock |
| 184 | include $(CLEAR_VARS) |
| 185 | LOCAL_MODULE := htcdumlocksys |
| 186 | LOCAL_MODULE_TAGS := eng |
| 187 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 188 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/htcd |
| 189 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 190 | include $(BUILD_PREBUILT) |
| 191 | |
| 192 | #flash_image for /system for dumlock |
| 193 | include $(CLEAR_VARS) |
| 194 | LOCAL_MODULE := flash_imagesys |
| 195 | LOCAL_MODULE_TAGS := eng |
| 196 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 197 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/htcd |
| 198 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 199 | include $(BUILD_PREBUILT) |
| 200 | |
| 201 | #dump_image for /system for dumlock |
| 202 | include $(CLEAR_VARS) |
| 203 | LOCAL_MODULE := dump_imagesys |
| 204 | LOCAL_MODULE_TAGS := eng |
| 205 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 206 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/htcd |
| 207 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 208 | include $(BUILD_PREBUILT) |
| 209 | |
| 210 | #libbmlutils for /system for dumlock |
| 211 | include $(CLEAR_VARS) |
| 212 | LOCAL_MODULE := libbmlutils.so |
| 213 | LOCAL_MODULE_TAGS := eng |
| 214 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 215 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/htcd |
| 216 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 217 | include $(BUILD_PREBUILT) |
| 218 | |
| 219 | #libflashutils for /system for dumlock |
| 220 | include $(CLEAR_VARS) |
| 221 | LOCAL_MODULE := libflashutils.so |
| 222 | LOCAL_MODULE_TAGS := eng |
| 223 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 224 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/htcd |
| 225 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 226 | include $(BUILD_PREBUILT) |
| 227 | |
| 228 | #libmmcutils for /system for dumlock |
| 229 | include $(CLEAR_VARS) |
| 230 | LOCAL_MODULE := libmmcutils.so |
| 231 | LOCAL_MODULE_TAGS := eng |
| 232 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 233 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/htcd |
| 234 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 235 | include $(BUILD_PREBUILT) |
| 236 | |
| 237 | #libmtdutils for /system for dumlock |
| 238 | include $(CLEAR_VARS) |
| 239 | LOCAL_MODULE := libmtdutils.so |
| 240 | LOCAL_MODULE_TAGS := eng |
| 241 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 242 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/htcd |
| 243 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 244 | include $(BUILD_PREBUILT) |
| 245 | |
| 246 | #HTCDumlock.apk |
| 247 | include $(CLEAR_VARS) |
| 248 | LOCAL_MODULE := HTCDumlock.apk |
| 249 | LOCAL_MODULE_TAGS := eng |
| 250 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 251 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/htcd |
| 252 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 253 | include $(BUILD_PREBUILT) |
| 254 | endif |
Dees_Troy | 6ef6635 | 2013-02-21 08:26:57 -0600 | [diff] [blame] | 255 | |
| 256 | ifneq ($(TW_EXCLUDE_SUPERSU), true) |
| 257 | #su binary |
| 258 | include $(CLEAR_VARS) |
| 259 | LOCAL_MODULE := su |
| 260 | LOCAL_MODULE_TAGS := eng |
| 261 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
jt1134 | 113ee73 | 2013-02-22 23:26:10 -0600 | [diff] [blame] | 262 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/supersu |
Dees_Troy | 6ef6635 | 2013-02-21 08:26:57 -0600 | [diff] [blame] | 263 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 264 | include $(BUILD_PREBUILT) |
| 265 | |
Dees_Troy | a7939bb | 2013-08-29 20:21:12 +0000 | [diff] [blame] | 266 | #install-recovery.sh |
| 267 | include $(CLEAR_VARS) |
| 268 | LOCAL_MODULE := install-recovery.sh |
| 269 | LOCAL_MODULE_TAGS := eng |
| 270 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 271 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/supersu |
| 272 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 273 | include $(BUILD_PREBUILT) |
| 274 | |
| 275 | #99SuperSUDaemon |
| 276 | include $(CLEAR_VARS) |
| 277 | LOCAL_MODULE := 99SuperSUDaemon |
| 278 | LOCAL_MODULE_TAGS := eng |
| 279 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 280 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/supersu |
| 281 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 282 | include $(BUILD_PREBUILT) |
| 283 | |
Dees_Troy | 6ef6635 | 2013-02-21 08:26:57 -0600 | [diff] [blame] | 284 | #SuperSU special installer APK |
| 285 | include $(CLEAR_VARS) |
| 286 | LOCAL_MODULE := Superuser.apk |
| 287 | LOCAL_MODULE_TAGS := eng |
| 288 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
jt1134 | 113ee73 | 2013-02-22 23:26:10 -0600 | [diff] [blame] | 289 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/supersu |
Dees_Troy | 6ef6635 | 2013-02-21 08:26:57 -0600 | [diff] [blame] | 290 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 291 | include $(BUILD_PREBUILT) |
jt1134 | 113ee73 | 2013-02-22 23:26:10 -0600 | [diff] [blame] | 292 | endif |