|
|
@ -15,7 +15,7 @@ bootanimation_sizes := $(subst .zip,,$(shell ls -1 vendor/cm/prebuilt/common/boo
|
|
|
|
# find the appropriate size and set
|
|
|
|
# find the appropriate size and set
|
|
|
|
define check_and_set_bootanimation
|
|
|
|
define check_and_set_bootanimation
|
|
|
|
$(eval TARGET_BOOTANIMATION_NAME := $(shell \
|
|
|
|
$(eval TARGET_BOOTANIMATION_NAME := $(shell \
|
|
|
|
if [ -z "$(TARGET_BOOTANIMATION_NAME)" ]; then
|
|
|
|
if [ -z "$(TARGET_BOOTANIMATION_NAME)" ]; then \
|
|
|
|
if [ "$(1)" -le "$(TARGET_BOOTANIMATION_SIZE)" ]; then \
|
|
|
|
if [ "$(1)" -le "$(TARGET_BOOTANIMATION_SIZE)" ]; then \
|
|
|
|
echo $(1); \
|
|
|
|
echo $(1); \
|
|
|
|
exit 0; \
|
|
|
|
exit 0; \
|
|
|
|