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) |
Dees_Troy | b05ddee | 2013-01-28 20:24:50 +0000 | [diff] [blame] | 82 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/mkexfatfs |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 83 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libexfat.so |
Captain Throwback | 6a1acf2 | 2014-09-18 12:46:35 -0400 | [diff] [blame] | 84 | TW_NO_EXFAT_FUSE := true |
| 85 | endif |
| 86 | ifneq ($(TW_NO_EXFAT_FUSE), true) |
| 87 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/exfat-fuse |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 88 | endif |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 89 | ifeq ($(TW_INCLUDE_BLOBPACK), true) |
| 90 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/blobpack |
| 91 | endif |
| 92 | ifeq ($(TW_INCLUDE_INJECTTWRP), true) |
| 93 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/injecttwrp |
| 94 | endif |
| 95 | ifeq ($(TW_INCLUDE_DUMLOCK), true) |
| 96 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/htcdumlock |
| 97 | endif |
| 98 | ifeq ($(TW_INCLUDE_CRYPTO), true) |
Dees_Troy | 2673cec | 2013-04-02 20:22:16 +0000 | [diff] [blame] | 99 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libcryptfsics.so |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 100 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libcrypto.so |
| 101 | endif |
| 102 | ifeq ($(TW_INCLUDE_JB_CRYPTO), true) |
Dees_Troy | 2673cec | 2013-04-02 20:22:16 +0000 | [diff] [blame] | 103 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libcryptfsjb.so |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 104 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libcrypto.so |
| 105 | endif |
Dees_Troy | 38bd760 | 2012-09-14 13:33:53 -0400 | [diff] [blame] | 106 | ifeq ($(TARGET_USERIMAGES_USE_EXT4), true) |
| 107 | RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/make_ext4fs |
| 108 | endif |
Dees_Troy | 4546fe7 | 2013-01-10 14:33:27 +0000 | [diff] [blame] | 109 | ifneq ($(wildcard system/core/libsparse/Android.mk),) |
| 110 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libsparse.so |
| 111 | endif |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 112 | ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS), true) |
| 113 | RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/openaes |
| 114 | RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libopenaes.so |
| 115 | endif |
Dees_Troy | e501704 | 2013-08-29 16:38:55 +0000 | [diff] [blame] | 116 | ifeq ($(TARGET_USERIMAGES_USE_F2FS), true) |
| 117 | RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mkfs.f2fs |
| 118 | RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/fsck.f2fs |
| 119 | RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/fibmap.f2fs |
| 120 | endif |
Dees Troy | 0226cd5 | 2013-11-04 14:12:35 +0000 | [diff] [blame] | 121 | ifneq ($(wildcard system/core/reboot/Android.mk),) |
| 122 | RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/reboot |
| 123 | endif |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 124 | |
| 125 | TWRP_AUTOGEN := $(intermediates)/teamwin |
| 126 | |
| 127 | GEN := $(intermediates)/teamwin |
| 128 | $(GEN): $(RELINK) |
| 129 | $(GEN): $(RELINK_SOURCE_FILES) $(call intermediates-dir-for,EXECUTABLES,recovery)/recovery |
| 130 | $(RELINK) $(TARGET_RECOVERY_ROOT_OUT)/sbin $(RELINK_SOURCE_FILES) |
| 131 | $(RELINK) $(call intermediates-dir-for,EXECUTABLES,recovery) $(call intermediates-dir-for,EXECUTABLES,recovery)/recovery |
| 132 | |
| 133 | LOCAL_GENERATED_SOURCES := $(GEN) |
| 134 | LOCAL_SRC_FILES := teamwin $(GEN) |
| 135 | include $(BUILD_PREBUILT) |
| 136 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 137 | #fix_permissions |
| 138 | include $(CLEAR_VARS) |
| 139 | LOCAL_MODULE := fix_permissions.sh |
| 140 | LOCAL_MODULE_TAGS := eng |
| 141 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 142 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
| 143 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 144 | include $(BUILD_PREBUILT) |
| 145 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 146 | #mke2fs.conf |
| 147 | include $(CLEAR_VARS) |
| 148 | LOCAL_MODULE := mke2fs.conf |
| 149 | LOCAL_MODULE_TAGS := eng |
| 150 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 151 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/etc |
| 152 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 153 | include $(BUILD_PREBUILT) |
| 154 | |
| 155 | ifeq ($(BOARD_HAS_NO_REAL_SDCARD),) |
| 156 | #parted |
| 157 | include $(CLEAR_VARS) |
| 158 | LOCAL_MODULE := parted |
| 159 | LOCAL_MODULE_TAGS := eng |
| 160 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 161 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
| 162 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 163 | include $(BUILD_PREBUILT) |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 164 | endif |
| 165 | |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 166 | # copy license file for OpenAES |
| 167 | ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS), true) |
| 168 | include $(CLEAR_VARS) |
| 169 | LOCAL_MODULE := ../openaes/LICENSE |
| 170 | LOCAL_MODULE_TAGS := eng |
| 171 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 172 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/license/openaes |
| 173 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 174 | include $(BUILD_PREBUILT) |
| 175 | endif |
| 176 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 177 | ifeq ($(TW_INCLUDE_DUMLOCK), true) |
| 178 | #htcdumlock for /system for dumlock |
| 179 | include $(CLEAR_VARS) |
| 180 | LOCAL_MODULE := htcdumlocksys |
| 181 | LOCAL_MODULE_TAGS := eng |
| 182 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 183 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/htcd |
| 184 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 185 | include $(BUILD_PREBUILT) |
| 186 | |
| 187 | #flash_image for /system for dumlock |
| 188 | include $(CLEAR_VARS) |
| 189 | LOCAL_MODULE := flash_imagesys |
| 190 | LOCAL_MODULE_TAGS := eng |
| 191 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 192 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/htcd |
| 193 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 194 | include $(BUILD_PREBUILT) |
| 195 | |
| 196 | #dump_image for /system for dumlock |
| 197 | include $(CLEAR_VARS) |
| 198 | LOCAL_MODULE := dump_imagesys |
| 199 | LOCAL_MODULE_TAGS := eng |
| 200 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 201 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/htcd |
| 202 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 203 | include $(BUILD_PREBUILT) |
| 204 | |
| 205 | #libbmlutils for /system for dumlock |
| 206 | include $(CLEAR_VARS) |
| 207 | LOCAL_MODULE := libbmlutils.so |
| 208 | LOCAL_MODULE_TAGS := eng |
| 209 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 210 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/htcd |
| 211 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 212 | include $(BUILD_PREBUILT) |
| 213 | |
| 214 | #libflashutils for /system for dumlock |
| 215 | include $(CLEAR_VARS) |
| 216 | LOCAL_MODULE := libflashutils.so |
| 217 | LOCAL_MODULE_TAGS := eng |
| 218 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 219 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/htcd |
| 220 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 221 | include $(BUILD_PREBUILT) |
| 222 | |
| 223 | #libmmcutils for /system for dumlock |
| 224 | include $(CLEAR_VARS) |
| 225 | LOCAL_MODULE := libmmcutils.so |
| 226 | LOCAL_MODULE_TAGS := eng |
| 227 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 228 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/htcd |
| 229 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 230 | include $(BUILD_PREBUILT) |
| 231 | |
| 232 | #libmtdutils for /system for dumlock |
| 233 | include $(CLEAR_VARS) |
| 234 | LOCAL_MODULE := libmtdutils.so |
| 235 | LOCAL_MODULE_TAGS := eng |
| 236 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 237 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/htcd |
| 238 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 239 | include $(BUILD_PREBUILT) |
| 240 | |
| 241 | #HTCDumlock.apk |
| 242 | include $(CLEAR_VARS) |
| 243 | LOCAL_MODULE := HTCDumlock.apk |
| 244 | LOCAL_MODULE_TAGS := eng |
| 245 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 246 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res/htcd |
| 247 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 248 | include $(BUILD_PREBUILT) |
| 249 | endif |
Dees_Troy | 6ef6635 | 2013-02-21 08:26:57 -0600 | [diff] [blame] | 250 | |
| 251 | ifneq ($(TW_EXCLUDE_SUPERSU), true) |
| 252 | #su binary |
| 253 | include $(CLEAR_VARS) |
| 254 | LOCAL_MODULE := su |
| 255 | LOCAL_MODULE_TAGS := eng |
| 256 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
jt1134 | 113ee73 | 2013-02-22 23:26:10 -0600 | [diff] [blame] | 257 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/supersu |
Dees_Troy | 6ef6635 | 2013-02-21 08:26:57 -0600 | [diff] [blame] | 258 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 259 | include $(BUILD_PREBUILT) |
| 260 | |
Dees_Troy | a7939bb | 2013-08-29 20:21:12 +0000 | [diff] [blame] | 261 | #install-recovery.sh |
| 262 | include $(CLEAR_VARS) |
| 263 | LOCAL_MODULE := install-recovery.sh |
| 264 | LOCAL_MODULE_TAGS := eng |
| 265 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 266 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/supersu |
| 267 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 268 | include $(BUILD_PREBUILT) |
| 269 | |
| 270 | #99SuperSUDaemon |
| 271 | include $(CLEAR_VARS) |
| 272 | LOCAL_MODULE := 99SuperSUDaemon |
| 273 | LOCAL_MODULE_TAGS := eng |
| 274 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 275 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/supersu |
| 276 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 277 | include $(BUILD_PREBUILT) |
| 278 | |
Dees_Troy | 6ef6635 | 2013-02-21 08:26:57 -0600 | [diff] [blame] | 279 | #SuperSU special installer APK |
| 280 | include $(CLEAR_VARS) |
| 281 | LOCAL_MODULE := Superuser.apk |
| 282 | LOCAL_MODULE_TAGS := eng |
| 283 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
jt1134 | 113ee73 | 2013-02-22 23:26:10 -0600 | [diff] [blame] | 284 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/supersu |
Dees_Troy | 6ef6635 | 2013-02-21 08:26:57 -0600 | [diff] [blame] | 285 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 286 | include $(BUILD_PREBUILT) |
jt1134 | 113ee73 | 2013-02-22 23:26:10 -0600 | [diff] [blame] | 287 | endif |