The Android Open Source Project | 40c4004 | 2009-03-03 19:31:37 -0800 | [diff] [blame] | 1 | # Copyright 2005 The Android Open Source Project |
| 2 | |
| 3 | LOCAL_PATH:= $(call my-dir) |
| 4 | include $(CLEAR_VARS) |
| 5 | |
| 6 | LOCAL_SRC_FILES := \ |
| 7 | yaffs2/utils/mkyaffs2image.c \ |
| 8 | yaffs2/yaffs_packedtags2.c \ |
Rebecca Schultz Zavin | 602f639 | 2009-09-23 17:29:56 -0700 | [diff] [blame] | 9 | yaffs2/yaffs_ecc.c \ |
The Android Open Source Project | 40c4004 | 2009-03-03 19:31:37 -0800 | [diff] [blame] | 10 | yaffs2/yaffs_tagsvalidity.c |
| 11 | |
Rebecca Schultz Zavin | 602f639 | 2009-09-23 17:29:56 -0700 | [diff] [blame] | 12 | LOCAL_CFLAGS = -O2 -Wall -DCONFIG_YAFFS_UTIL -DCONFIG_YAFFS_DOES_ECC |
The Android Open Source Project | 40c4004 | 2009-03-03 19:31:37 -0800 | [diff] [blame] | 13 | LOCAL_CFLAGS+= -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations |
| 14 | LOCAL_CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline |
| 15 | |
| 16 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/yaffs2 |
| 17 | |
| 18 | LOCAL_MODULE := mkyaffs2image |
| 19 | |
Kenny Root | c7e18f4 | 2012-10-16 17:25:27 -0700 | [diff] [blame] | 20 | LOCAL_STATIC_LIBRARIES := libselinux |
Stephen Smalley | 84f79e8 | 2012-01-13 08:23:06 -0500 | [diff] [blame] | 21 | |
The Android Open Source Project | 40c4004 | 2009-03-03 19:31:37 -0800 | [diff] [blame] | 22 | include $(BUILD_HOST_EXECUTABLE) |
| 23 | |
Ying Wang | 6232e2d | 2010-12-09 10:32:06 -0800 | [diff] [blame] | 24 | $(call dist-for-goals, dist_files, $(LOCAL_BUILT_MODULE)) |