Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #
  2. # Makefile for the linux reiser-filesystem routines.
  3. #
  4. obj-$(CONFIG_REISERFS_FS) += reiserfs.o
  5. reiserfs-objs := bitmap.o do_balan.o namei.o inode.o file.o dir.o fix_node.o \
  6. super.o prints.o objectid.o lbalance.o ibalance.o stree.o \
  7. hashes.o tail_conversion.o journal.o resize.o \
  8. item_ops.o ioctl.o procfs.o
  9. ifeq ($(CONFIG_REISERFS_FS_XATTR),y)
  10. reiserfs-objs += xattr.o xattr_user.o xattr_trusted.o
  11. endif
  12. ifeq ($(CONFIG_REISERFS_FS_SECURITY),y)
  13. reiserfs-objs += xattr_security.o
  14. endif
  15. ifeq ($(CONFIG_REISERFS_FS_POSIX_ACL),y)
  16. reiserfs-objs += xattr_acl.o
  17. endif
  18. # gcc -O2 (the kernel default) is overaggressive on ppc32 when many inline
  19. # functions are used. This causes the compiler to advance the stack
  20. # pointer out of the available stack space, corrupting kernel space,
  21. # and causing a panic. Since this behavior only affects ppc32, this ifeq
  22. # will work around it. If any other architecture displays this behavior,
  23. # add it here.
  24. ifeq ($(CONFIG_PPC32),y)
  25. EXTRA_CFLAGS := $(call cc-ifversion, -lt, 0400, -O1)
  26. endif
  27. TAGS:
  28. etags *.c