summaryrefslogtreecommitdiffstats
path: root/prebuilt
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2016-01-12 05:21:18 +0100
committerDees Troy <dees_troy@teamw.in>2016-01-14 17:40:43 +0100
commit483e9f45b71458b84ccbbaf658449b58f029a63b (patch)
treeb3542c7aba58b360faed66f65f375ec8a6b1e1bb /prebuilt
parentgui: theme changes for terminal (diff)
downloadandroid_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.mk30
-rwxr-xr-xprebuilt/sgdisk_staticbin0 -> 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
new file mode 100755
index 000000000..eb8a129ce
--- /dev/null
+++ b/prebuilt/sgdisk_static
Binary files differ