diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2014-04-04 20:33:30 +0200 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2014-04-04 20:33:30 +0200 |
commit | 7af51ce521a43450f29fd8c2cb73f635cf78dea9 (patch) | |
tree | fcc126e1e2f84218db237272374a2aca7b131b36 /Android.mk | |
parent | Add option to build TWRP with toolbox instead of busybox (diff) | |
download | android_bootable_recovery-7af51ce521a43450f29fd8c2cb73f635cf78dea9.tar android_bootable_recovery-7af51ce521a43450f29fd8c2cb73f635cf78dea9.tar.gz android_bootable_recovery-7af51ce521a43450f29fd8c2cb73f635cf78dea9.tar.bz2 android_bootable_recovery-7af51ce521a43450f29fd8c2cb73f635cf78dea9.tar.lz android_bootable_recovery-7af51ce521a43450f29fd8c2cb73f635cf78dea9.tar.xz android_bootable_recovery-7af51ce521a43450f29fd8c2cb73f635cf78dea9.tar.zst android_bootable_recovery-7af51ce521a43450f29fd8c2cb73f635cf78dea9.zip |
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Android.mk b/Android.mk index 2f1f6fcee..98c442791 100644 --- a/Android.mk +++ b/Android.mk @@ -75,6 +75,12 @@ ifneq ($(wildcard system/core/libsparse/Android.mk),) LOCAL_SHARED_LIBRARIES += libsparse endif +ifeq ($(TW_OEM_BUILD),true) + LOCAL_CFLAGS += -DTW_OEM_BUILD + BOARD_HAS_NO_REAL_SDCARD := true + TW_USE_TOOLBOX := true + TW_EXCLUDE_SUPERSU := true +endif ifeq ($(TARGET_USERIMAGES_USE_EXT4), true) LOCAL_CFLAGS += -DUSE_EXT4 LOCAL_C_INCLUDES += system/extras/ext4_utils @@ -278,9 +284,6 @@ endif ifneq ($(wildcard bionic/libc/include/sys/capability.h),) LOCAL_CFLAGS += -DHAVE_CAPABILITIES endif -ifeq ($(TW_OEM_BUILD),true) - LOCAL_CFLAGS += -DTW_OEM_BUILD -endif include $(BUILD_EXECUTABLE) |