diff --git a/config/common.mk b/config/common.mk index 0a5fc13e..927442de 100644 --- a/config/common.mk +++ b/config/common.mk @@ -3,23 +3,7 @@ PRODUCT_BRAND ?= cyanogenmod SUPERUSER_EMBEDDED := true SUPERUSER_PACKAGE_PREFIX := com.android.settings.cyanogenmod.superuser -# To deal with CM9 specifications -# TODO: remove once all devices have been switched -ifneq ($(TARGET_BOOTANIMATION_NAME),) -TARGET_SCREEN_DIMENSIONS := $(subst -, $(space), $(subst x, $(space), $(TARGET_BOOTANIMATION_NAME))) -ifeq ($(TARGET_SCREEN_WIDTH),) -TARGET_SCREEN_WIDTH := $(word 2, $(TARGET_SCREEN_DIMENSIONS)) -endif -ifeq ($(TARGET_SCREEN_HEIGHT),) -TARGET_SCREEN_HEIGHT := $(word 3, $(TARGET_SCREEN_DIMENSIONS)) -endif -endif - ifneq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space)) - -# clear TARGET_BOOTANIMATION_NAME in case it was set for CM9 purposes -TARGET_BOOTANIMATION_NAME := - # determine the smaller dimension TARGET_BOOTANIMATION_SIZE := $(shell \ if [ $(TARGET_SCREEN_WIDTH) -lt $(TARGET_SCREEN_HEIGHT) ]; then \