summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..1d4013d
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,21 @@
+# Copyright 2005 The Android Open Source Project
+
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := \
+ yaffs2/utils/mkyaffs2image.c \
+ yaffs2/yaffs_packedtags2.c \
+ yaffs2/yaffs_tagsvalidity.c
+
+LOCAL_CFLAGS = -O2 -Wall -DCONFIG_YAFFS_UTIL
+LOCAL_CFLAGS+= -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations
+LOCAL_CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline
+
+LOCAL_C_INCLUDES += $(LOCAL_PATH)/yaffs2
+
+LOCAL_MODULE := mkyaffs2image
+
+include $(BUILD_HOST_EXECUTABLE)
+
+$(call dist-for-goals,droid,$(LOCAL_BUILT_MODULE))