aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndroid-Andi <skate4life@gmx.de>2016-01-04 21:21:21 +0100
committerAndreas Blaesius <skate4life@gmx.de>2016-01-25 15:26:18 -0800
commite4fc099172cc282a143f551fafc71a884d447ac8 (patch)
treefb16ee72489cb97d2c046aec88856319d2803fb3
parent5c7142d79b4f623863e56b65cb8bf5538c743b4d (diff)
downloaddevice_samsung_espressowifi-e4fc099172cc282a143f551fafc71a884d447ac8.zip
device_samsung_espressowifi-e4fc099172cc282a143f551fafc71a884d447ac8.tar.gz
device_samsung_espressowifi-e4fc099172cc282a143f551fafc71a884d447ac8.tar.bz2
Revert "Use LZMA compression for recovery's ramdisk"
Our partition (8388608) is big enought for current recovery.img This reverts commit 08ce236e1921ffe5cde42e157dd0404e6807b7b9. Change-Id: Ibe921c0a1ff2c005d3064ec5d2ca50277dc23f50
-rw-r--r--BoardConfigCommon.mk3
-rw-r--r--custombootimg.mk22
2 files changed, 0 insertions, 25 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 8844ea6..6ee0e19 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -113,9 +113,6 @@ TARGET_RECOVERY_DEVICE_DIRS += device/samsung/espresso-common
RECOVERY_FSTAB_VERSION := 2
BOARD_HAS_DOWNLOAD_MODE := true
-BOARD_CUSTOM_BOOTIMG_MK := device/samsung/espresso-common/custombootimg.mk
-BOARD_CANT_BUILD_RECOVERY_FROM_BOOT_PATCH := true
-
# RIL
BOARD_VENDOR := samsung
BOARD_PROVIDES_LIBRIL := true
diff --git a/custombootimg.mk b/custombootimg.mk
deleted file mode 100644
index bf84033..0000000
--- a/custombootimg.mk
+++ /dev/null
@@ -1,22 +0,0 @@
-LZMA_BIN := $(shell which lzma)
-
-
-$(INSTALLED_RECOVERYIMAGE_TARGET): $(MKBOOTIMG) \
- $(recovery_ramdisk) \
- $(recovery_uncompressed_ramdisk) \
- $(recovery_kernel)
- @echo -e ${CL_CYN}"----- Compressing recovery ramdisk with lzma ------"${CL_RST}
- rm -f $(recovery_uncompressed_ramdisk).lzma
- $(LZMA_BIN) $(recovery_uncompressed_ramdisk)
- $(hide) cp $(recovery_uncompressed_ramdisk).lzma $(recovery_ramdisk)
- @echo ----- Making recovery image ------
- $(MKBOOTIMG) $(INTERNAL_RECOVERYIMAGE_ARGS) $(BOARD_MKBOOTIMG_ARGS) --output $@
- @echo -e ${CL_CYN}"----- Made recovery image -------- $@"${CL_RST}
- $(hide) $(call assert-max-image-size,$@,$(BOARD_RECOVERYIMAGE_PARTITION_SIZE),raw)
-
-
-$(INSTALLED_BOOTIMAGE_TARGET): $(MKBOOTIMG) $(INTERNAL_BOOTIMAGE_FILES)
- $(call pretty,"Target boot image: $@")
- $(hide) $(MKBOOTIMG) $(INTERNAL_BOOTIMAGE_ARGS) $(BOARD_MKBOOTIMG_ARGS) --output $@
- $(hide) $(call assert-max-image-size,$@,$(BOARD_BOOTIMAGE_PARTITION_SIZE),raw)
- @echo -e ${CL_CYN}"Made boot image: $@"${CL_RST}