diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2016-01-12 05:21:18 +0100 |
---|---|---|
committer | Dees Troy <dees_troy@teamw.in> | 2016-01-14 17:40:43 +0100 |
commit | 483e9f45b71458b84ccbbaf658449b58f029a63b (patch) | |
tree | b3542c7aba58b360faed66f65f375ec8a6b1e1bb /prebuilt | |
parent | gui: theme changes for terminal (diff) | |
download | android_bootable_recovery-483e9f45b71458b84ccbbaf658449b58f029a63b.tar android_bootable_recovery-483e9f45b71458b84ccbbaf658449b58f029a63b.tar.gz android_bootable_recovery-483e9f45b71458b84ccbbaf658449b58f029a63b.tar.bz2 android_bootable_recovery-483e9f45b71458b84ccbbaf658449b58f029a63b.tar.lz android_bootable_recovery-483e9f45b71458b84ccbbaf658449b58f029a63b.tar.xz android_bootable_recovery-483e9f45b71458b84ccbbaf658449b58f029a63b.tar.zst android_bootable_recovery-483e9f45b71458b84ccbbaf658449b58f029a63b.zip |
Diffstat (limited to 'prebuilt')
-rw-r--r-- | prebuilt/Android.mk | 30 | ||||
-rwxr-xr-x | prebuilt/sgdisk_static | bin | 0 -> 489732 bytes |
2 files changed, 23 insertions, 7 deletions
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk index df14bbdac..81954257c 100644 --- a/prebuilt/Android.mk +++ b/prebuilt/Android.mk @@ -201,6 +201,11 @@ else RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mkntfs endif endif +ifeq ($(BOARD_HAS_NO_REAL_SDCARD),) + ifeq ($(shell test $(PLATFORM_SDK_VERSION) -gt 22; echo $$?),0) + RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/sgdisk + endif +endif TWRP_AUTOGEN := $(intermediates)/teamwin @@ -241,14 +246,25 @@ LOCAL_SRC_FILES := $(LOCAL_MODULE) include $(BUILD_PREBUILT) ifeq ($(BOARD_HAS_NO_REAL_SDCARD),) + ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23; echo $$?),0) + #prebuilt, static sgdisk + include $(CLEAR_VARS) + LOCAL_MODULE := sgdisk_static + LOCAL_MODULE_STEM := sgdisk + LOCAL_MODULE_TAGS := eng + LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES + LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin + LOCAL_SRC_FILES := $(LOCAL_MODULE) + include $(BUILD_PREBUILT) + endif #parted - include $(CLEAR_VARS) - LOCAL_MODULE := parted - LOCAL_MODULE_TAGS := eng - LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES - LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin - LOCAL_SRC_FILES := $(LOCAL_MODULE) - include $(BUILD_PREBUILT) + #include $(CLEAR_VARS) + #LOCAL_MODULE := parted + #LOCAL_MODULE_TAGS := eng + #LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES + #LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin + #LOCAL_SRC_FILES := $(LOCAL_MODULE) + #include $(BUILD_PREBUILT) endif # copy license file for OpenAES diff --git a/prebuilt/sgdisk_static b/prebuilt/sgdisk_static Binary files differnew file mode 100755 index 000000000..eb8a129ce --- /dev/null +++ b/prebuilt/sgdisk_static |