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