summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2018-07-13 22:12:29 +0200
committerMichael Bestas <mkbestas@lineageos.org>2019-03-23 13:39:53 +0100
commit9bb7c225a47fa6903c574250d92b8eef8c0ba2c1 (patch)
tree68588112af79e94e44b388bafebd8dc1459abbeb
parentRemove duplicate ext4 flags from Android.mk (diff)
downloadandroid_bootable_recovery-9bb7c225a47fa6903c574250d92b8eef8c0ba2c1.tar
android_bootable_recovery-9bb7c225a47fa6903c574250d92b8eef8c0ba2c1.tar.gz
android_bootable_recovery-9bb7c225a47fa6903c574250d92b8eef8c0ba2c1.tar.bz2
android_bootable_recovery-9bb7c225a47fa6903c574250d92b8eef8c0ba2c1.tar.lz
android_bootable_recovery-9bb7c225a47fa6903c574250d92b8eef8c0ba2c1.tar.xz
android_bootable_recovery-9bb7c225a47fa6903c574250d92b8eef8c0ba2c1.tar.zst
android_bootable_recovery-9bb7c225a47fa6903c574250d92b8eef8c0ba2c1.zip
-rw-r--r--prebuilt/Android.mk16
1 files changed, 9 insertions, 7 deletions
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index a7208a228..0b0fa8613 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -406,13 +406,15 @@ LOCAL_SRC_FILES := $(LOCAL_MODULE)
include $(BUILD_PREBUILT)
#mke2fs.conf
-include $(CLEAR_VARS)
-LOCAL_MODULE := mke2fs.conf
-LOCAL_MODULE_TAGS := eng
-LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
-LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/etc
-LOCAL_SRC_FILES := $(LOCAL_MODULE)
-include $(BUILD_PREBUILT)
+ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 26; echo $$?),0)
+ include $(CLEAR_VARS)
+ LOCAL_MODULE := mke2fs.conf
+ LOCAL_MODULE_TAGS := eng
+ LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
+ LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/etc
+ LOCAL_SRC_FILES := $(LOCAL_MODULE)
+ include $(BUILD_PREBUILT)
+endif
ifeq ($(BOARD_HAS_NO_REAL_SDCARD),)
ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23; echo $$?),0)