Home | History | Annotate | Download | only in yaffs2
      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 \
      9 	yaffs2/yaffs_ecc.c \
     10 	yaffs2/yaffs_tagsvalidity.c
     11 
     12 LOCAL_CFLAGS =   -O2 -Wall -DCONFIG_YAFFS_UTIL -DCONFIG_YAFFS_DOES_ECC
     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 
     20 LOCAL_STATIC_LIBRARIES := libselinux
     21 
     22 include $(BUILD_HOST_EXECUTABLE)
     23 
     24 $(call dist-for-goals, dist_files, $(LOCAL_BUILT_MODULE))
     25