leo: add releasetools back in, and make it compatible with new cm, and update squisher script to master file, changed another typo from cyanogen to cm
This commit is contained in:
parent
e2c83e5560
commit
28787caa53
@ -74,7 +74,7 @@ BOARD_USE_KINETO_COMPATIBILITY := true
|
||||
#BOARD_HAVE_FM_RADIO := true
|
||||
#BOARD_GLOBAL_CFLAGS += -DHAVE_FM_RADIO
|
||||
|
||||
#TARGET_CUSTOM_RELEASETOOL := device/htc/leo/releasetools/squisher
|
||||
TARGET_CUSTOM_RELEASETOOL := device/htc/leo/releasetools/squisher
|
||||
|
||||
# # cat /proc/mtd
|
||||
# dev: size erasesize name
|
||||
|
3
cm.mk
3
cm.mk
@ -27,5 +27,6 @@ PRODUCT_PACKAGES += \
|
||||
# Release name and versioning
|
||||
PRODUCT_RELEASE_NAME := Leo
|
||||
PRODUCT_VERSION_DEVICE_SPECIFIC := -aali
|
||||
-include vendor/cyanogen/products/common_versions.mk
|
||||
|
||||
-include vendor/cm/products/common_versions.mk
|
||||
|
||||
|
@ -25,6 +25,8 @@ fi
|
||||
|
||||
if [ "$TARGET_BUILD_TYPE" = "debug" ]; then
|
||||
OTAPACKAGE=$OUT/${TARGET_PRODUCT}_debug-ota-$TARGET_BUILD_VARIANT.$USER.zip
|
||||
elif [ "$TARGET_BUILD_VARIANT" = "userdebug" ]; then
|
||||
OTAPACKAGE=$OUT/$TARGET_PRODUCT-ota-eng.$USER.zip
|
||||
else
|
||||
OTAPACKAGE=$OUT/$TARGET_PRODUCT-ota-$TARGET_BUILD_VARIANT.$USER.zip
|
||||
fi
|
||||
@ -33,7 +35,7 @@ if [ ! -f "$OTAPACKAGE" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
OPTICHARGER=$ANDROID_BUILD_TOP/vendor/cyanogen/tools/opticharger
|
||||
OPTICHARGER=$ANDROID_BUILD_TOP/vendor/cm/tools/opticharger
|
||||
QUIET=-q
|
||||
DELETE_BINS="applypatch applypatch_static check_prereq recovery updater"
|
||||
|
||||
@ -124,7 +126,7 @@ $SED -i \
|
||||
$REPACK/ota/system/build.prop
|
||||
|
||||
# Include device specific script
|
||||
if [ "$TARGET_PRODUCT" = "cyanogen_leo" ]; then
|
||||
if [ "$TARGET_PRODUCT" = "cm_leo" ]; then
|
||||
. $ANDROID_BUILD_TOP/device/htc/leo/releasetools/squisher.sh
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user