summaryrefslogtreecommitdiffstats
path: root/dosfstools/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'dosfstools/Android.mk')
-rw-r--r--dosfstools/Android.mk14
1 files changed, 6 insertions, 8 deletions
diff --git a/dosfstools/Android.mk b/dosfstools/Android.mk
index 62297f333..7c8592d4a 100644
--- a/dosfstools/Android.mk
+++ b/dosfstools/Android.mk
@@ -23,14 +23,12 @@ $(SYMLINKS): $(LOCAL_INSTALLED_MODULE) $(LOCAL_PATH)/Android.mk
@rm -rf $@
$(hide) ln -sf $(DOSFSCK_BINARY) $@
-ALL_DEFAULT_INSTALLED_MODULES += $(SYMLINKS)
-
-# We need this so that the installed files could be picked up based on the
-# local module name
-ALL_MODULES.$(LOCAL_MODULE).INSTALLED := \
- $(ALL_MODULES.$(LOCAL_MODULE).INSTALLED) $(SYMLINKS)
-
-
+include $(CLEAR_VARS)
+LOCAL_MODULE := fsck_msdos_symlink
+LOCAL_MODULE_TAGS := optional
+LOCAL_ADDITIONAL_DEPENDENCIES := $(SYMLINKS)
+include $(BUILD_PHONY_PACKAGE)
+SYMLINKS :=
include $(CLEAR_VARS)
LOCAL_SRC_FILES := src/boot.c src/check.c src/common.c src/fat.c \