summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-12-12 18:43:21 +0100
committerEthan Yonker <dees_troy@teamw.in>2014-12-12 18:43:21 +0100
commit2d11d498caeb2e12eef54a1a797f46fe77a0a776 (patch)
tree81abfb4b0aeeda599dac2865a17a1129b54d7e4a
parentImprove resource error logging (diff)
downloadandroid_bootable_recovery-2d11d498caeb2e12eef54a1a797f46fe77a0a776.tar
android_bootable_recovery-2d11d498caeb2e12eef54a1a797f46fe77a0a776.tar.gz
android_bootable_recovery-2d11d498caeb2e12eef54a1a797f46fe77a0a776.tar.bz2
android_bootable_recovery-2d11d498caeb2e12eef54a1a797f46fe77a0a776.tar.lz
android_bootable_recovery-2d11d498caeb2e12eef54a1a797f46fe77a0a776.tar.xz
android_bootable_recovery-2d11d498caeb2e12eef54a1a797f46fe77a0a776.tar.zst
android_bootable_recovery-2d11d498caeb2e12eef54a1a797f46fe77a0a776.zip
-rw-r--r--Android.mk18
-rw-r--r--dosfstools/Android.mk8
-rw-r--r--prebuilt/Android.mk9
3 files changed, 14 insertions, 21 deletions
diff --git a/Android.mk b/Android.mk
index 2a108777f..203c901de 100644
--- a/Android.mk
+++ b/Android.mk
@@ -312,14 +312,13 @@ LOCAL_ADDITIONAL_DEPENDENCIES := \
teamwin \
toolbox_symlinks \
twrp \
- unpigz_symlink
+ unpigz_symlink \
+ dosfsck \
+ dosfslabel \
+ fsck_msdos_symlink \
+ mkdosfs
ifneq ($(TARGET_ARCH), arm64)
- LOCAL_ADDITIONAL_DEPENDENCIES += \
- dosfsck \
- dosfslabel \
- fsck_msdos_symlink \
- mkdosfs
LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker
else
LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker64
@@ -487,11 +486,8 @@ include $(commands_recovery_local_path)/injecttwrp/Android.mk \
$(commands_recovery_local_path)/libmincrypt/Android.mk \
$(commands_recovery_local_path)/twrpTarMain/Android.mk \
$(commands_recovery_local_path)/mtp/Android.mk \
- $(commands_recovery_local_path)/minzip/Android.mk
-
-ifneq ($(TARGET_ARCH), arm64)
- include $(commands_recovery_local_path)/dosfstools/Android.mk
-endif
+ $(commands_recovery_local_path)/minzip/Android.mk \
+ $(commands_recovery_local_path)/dosfstools/Android.mk
ifeq ($(TW_INCLUDE_CRYPTO), true)
include $(commands_recovery_local_path)/crypto/lollipop/Android.mk
diff --git a/dosfstools/Android.mk b/dosfstools/Android.mk
index 7c8592d4a..15503c25d 100644
--- a/dosfstools/Android.mk
+++ b/dosfstools/Android.mk
@@ -4,7 +4,7 @@ LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := src/boot.c src/check.c src/common.c \
src/fat.c src/file.c src/io.c src/lfn.c src/dosfsck.c
-LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
+#LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
LOCAL_SHARED_LIBRARIES := libc
LOCAL_CFLAGS += -D_USING_BIONIC_
LOCAL_CFLAGS += -DUSE_ANDROID_RETVALS
@@ -33,8 +33,8 @@ SYMLINKS :=
include $(CLEAR_VARS)
LOCAL_SRC_FILES := src/boot.c src/check.c src/common.c src/fat.c \
src/file.c src/io.c src/lfn.c src/dosfslabel.c
-LOCAL_C_INCLUDES := $(KERNEL_HEADERS) \
- bionic/libc/kernel/common
+#LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
+LOCAL_C_INCLUDES += bionic/libc/kernel/common
LOCAL_SHARED_LIBRARIES := libc
LOCAL_CFLAGS += -D_USING_BIONIC_
LOCAL_MODULE = dosfslabel
@@ -45,7 +45,7 @@ include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := src/mkdosfs.c
-LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
+#LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
LOCAL_SHARED_LIBRARIES := libc
LOCAL_CFLAGS += -D_USING_BIONIC_
LOCAL_MODULE = mkdosfs
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index cc0765c39..7d1dceb5e 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -20,12 +20,9 @@ else
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libcrypto.so
endif
RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/pigz
-# dosfstools does not build for arm64 right now
-ifneq ($(TARGET_ARCH), arm64)
- RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/dosfsck
- RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/dosfslabel
- RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/mkdosfs
-endif
+RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/dosfsck
+RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/dosfslabel
+RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/mkdosfs
RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/e2fsck
RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mke2fs
RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/tune2fs