diff options
Diffstat (limited to '')
-rw-r--r-- | Android.mk | 6 | ||||
-rw-r--r-- | mtdutils/Android.mk | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/Android.mk b/Android.mk index fbddef7e3..d8c880e50 100644 --- a/Android.mk +++ b/Android.mk @@ -264,9 +264,6 @@ endif ifneq ($(TW_CUSTOM_BATTERY_PATH),) LOCAL_CFLAGS += -DTW_CUSTOM_BATTERY_PATH=$(TW_CUSTOM_BATTERY_PATH) endif -ifeq ($(TARGET_BOARD_PLATFORM),rk30xx) - LOCAL_CFLAGS += -DRK3066 -endif ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS), true) LOCAL_SHARED_LIBRARIES += libopenaes else @@ -330,9 +327,6 @@ include $(CLEAR_VARS) LOCAL_MODULE := libaosprecovery LOCAL_MODULE_TAGS := eng LOCAL_MODULES_TAGS = optional -ifeq ($(TARGET_BOARD_PLATFORM),rk30xx) - LOCAL_CFLAGS += -DRK3066 -endif LOCAL_C_INCLUDES := bootable/recovery/libmincrypt/includes LOCAL_SRC_FILES = adb_install.cpp bootloader.cpp verifier.cpp mtdutils/mtdutils.c legacy_property_service.c LOCAL_SHARED_LIBRARIES += libc liblog libcutils libmtdutils diff --git a/mtdutils/Android.mk b/mtdutils/Android.mk index c1b0e5baa..117de78dc 100644 --- a/mtdutils/Android.mk +++ b/mtdutils/Android.mk @@ -9,6 +9,7 @@ LOCAL_SRC_FILES := \ ifeq ($(TARGET_BOARD_PLATFORM),rk30xx) LOCAL_SRC_FILES += rk30hack.c +LOCAL_CFLAGS += -DRK3066 endif LOCAL_MODULE := libmtdutils @@ -25,6 +26,7 @@ LOCAL_SRC_FILES := \ ifeq ($(TARGET_BOARD_PLATFORM),rk30xx) LOCAL_SRC_FILES += rk30hack.c +LOCAL_CFLAGS += -DRK3066 endif LOCAL_MODULE := libmtdutils |