| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 | subdir-ccflags-y += -Wextra -Wunused -Wno-unused-parameter
|
| 8 | subdir-ccflags-y += -Wmissing-declarations
|
| 9 | subdir-ccflags-y += -Wmissing-format-attribute
|
| 10 | subdir-ccflags-y += -Wmissing-prototypes
|
| 11 | subdir-ccflags-y += -Wold-style-definition
|
| 12 | subdir-ccflags-y += -Wmissing-include-dirs
|
| 13 | condflags := \
|
| 14 | $(call cc-option, -Wunused-but-set-variable) \
|
| 15 | $(call cc-option, -Wunused-const-variable) \
|
| 16 | $(call cc-option, -Wpacked-not-aligned) \
|
| 17 | $(call cc-option, -Wstringop-truncation) \
|
| 18 | $(call cc-option, -Wmaybe-uninitialized)
|
| 19 | subdir-ccflags-y += $(condflags)
|
| 20 |
|
| 21 | subdir-ccflags-y += -Wno-missing-field-initializers
|
| 22 | subdir-ccflags-y += -Wno-sign-compare
|
| 23 | subdir-ccflags-y += -Wno-type-limits
|
| 24 | subdir-ccflags-y += -Wno-shift-negative-value
|
| 25 |
|
| 26 |
|
| 27 | ccflags-y += -Wint-to-pointer-cast \
|
| 28 | $(call cc-option,-Wunused-but-set-variable,-Wunused-const-variable) \
|
| 29 | $(call cc-option,-Wold-style-declaration,-Wout-of-line-declaration)
|
| 30 |
|
| 31 | obj-$(CONFIG_NTFS3_FS) += ntfs3.o
|
| 32 |
|
| 33 | ntfs3-y := attrib.o \
|
| 34 | attrlist.o \
|
| 35 | bitfunc.o \
|
| 36 | bitmap.o \
|
| 37 | dir.o \
|
| 38 | fsntfs.o \
|
| 39 | frecord.o \
|
| 40 | file.o \
|
| 41 | fslog.o \
|
| 42 | inode.o \
|
| 43 | index.o \
|
| 44 | lznt.o \
|
| 45 | namei.o \
|
| 46 | record.o \
|
| 47 | run.o \
|
| 48 | super.o \
|
| 49 | upcase.o \
|
| 50 | xattr.o
|
| 51 |
|
| 52 | ntfs3-$(CONFIG_NTFS3_LZX_XPRESS) += $(addprefix lib/,\
|
| 53 | decompress_common.o \
|
| 54 | lzx_decompress.o \
|
| 55 | xpress_decompress.o \
|
| 56 | )
|