summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ. Carlos Romero <juancarlos.romero@gmail.com>2014-04-15 13:15:10 +0200
committerGerrit Code Review <gerrit2@gerrit>2014-04-15 15:28:26 +0200
commit85ceaf1b311ee00665c64e729550f0a9cac7f0fd (patch)
tree9513ba486fd829605d63cad9ccdb70ae89754fcf
parentAllow device files to specify a custom theme (diff)
downloadandroid_bootable_recovery-85ceaf1b311ee00665c64e729550f0a9cac7f0fd.tar
android_bootable_recovery-85ceaf1b311ee00665c64e729550f0a9cac7f0fd.tar.gz
android_bootable_recovery-85ceaf1b311ee00665c64e729550f0a9cac7f0fd.tar.bz2
android_bootable_recovery-85ceaf1b311ee00665c64e729550f0a9cac7f0fd.tar.lz
android_bootable_recovery-85ceaf1b311ee00665c64e729550f0a9cac7f0fd.tar.xz
android_bootable_recovery-85ceaf1b311ee00665c64e729550f0a9cac7f0fd.tar.zst
android_bootable_recovery-85ceaf1b311ee00665c64e729550f0a9cac7f0fd.zip
-rw-r--r--Android.mk6
-rw-r--r--mtdutils/Android.mk2
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