brintos

brintos / linux-shallow public Read only

0
0
Text · 2.0 KiB · 87617f2 Raw
47 lines · plain
1# SPDX-License-Identifier: GPL-2.02 3# Subset of W=1 warnings4subdir-ccflags-y += -Wextra -Wunused -Wno-unused-parameter5subdir-ccflags-y += -Wmissing-declarations6subdir-ccflags-y += -Wmissing-format-attribute7subdir-ccflags-y += -Wmissing-prototypes8subdir-ccflags-y += -Wold-style-definition9subdir-ccflags-y += -Wmissing-include-dirs10condflags := \11	$(call cc-option, -Wunused-but-set-variable)		\12	$(call cc-option, -Wunused-const-variable)		\13	$(call cc-option, -Wpacked-not-aligned)			\14	$(call cc-option, -Wstringop-truncation)		\15	$(call cc-option, -Wmaybe-uninitialized)16subdir-ccflags-y += $(condflags)17# The following turn off the warnings enabled by -Wextra18subdir-ccflags-y += -Wno-missing-field-initializers19subdir-ccflags-y += -Wno-sign-compare20subdir-ccflags-y += -Wno-type-limits21subdir-ccflags-y += -Wno-shift-negative-value22 23obj-$(CONFIG_BTRFS_FS) := btrfs.o24 25btrfs-y += super.o ctree.o extent-tree.o print-tree.o root-tree.o dir-item.o \26	   file-item.o inode-item.o disk-io.o \27	   transaction.o inode.o file.o defrag.o \28	   extent_map.o sysfs.o accessors.o xattr.o ordered-data.o \29	   extent_io.o volumes.o async-thread.o ioctl.o locking.o orphan.o \30	   export.o tree-log.o free-space-cache.o zlib.o lzo.o zstd.o \31	   compression.o delayed-ref.o relocation.o delayed-inode.o scrub.o \32	   backref.o ulist.o qgroup.o send.o dev-replace.o raid56.o \33	   uuid-tree.o props.o free-space-tree.o tree-checker.o space-info.o \34	   block-rsv.o delalloc-space.o block-group.o discard.o reflink.o \35	   subpage.o tree-mod-log.o extent-io-tree.o fs.o messages.o bio.o \36	   lru_cache.o raid-stripe-tree.o fiemap.o direct-io.o37 38btrfs-$(CONFIG_BTRFS_FS_POSIX_ACL) += acl.o39btrfs-$(CONFIG_BTRFS_FS_REF_VERIFY) += ref-verify.o40btrfs-$(CONFIG_BLK_DEV_ZONED) += zoned.o41btrfs-$(CONFIG_FS_VERITY) += verity.o42 43btrfs-$(CONFIG_BTRFS_FS_RUN_SANITY_TESTS) += tests/free-space-tests.o \44	tests/extent-buffer-tests.o tests/btrfs-tests.o \45	tests/extent-io-tests.o tests/inode-tests.o tests/qgroup-tests.o \46	tests/free-space-tree-tests.o tests/extent-map-tests.o47