Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 xattr.o lock.o
  9. ifeq ($(CONFIG_REISERFS_PROC_INFO),y)
  10. reiserfs-objs += procfs.o
  11. endif
  12. ifeq ($(CONFIG_REISERFS_FS_XATTR),y)
  13. reiserfs-objs += xattr_user.o xattr_trusted.o
  14. endif
  15. ifeq ($(CONFIG_REISERFS_FS_SECURITY),y)
  16. reiserfs-objs += xattr_security.o
  17. endif
  18. ifeq ($(CONFIG_REISERFS_FS_POSIX_ACL),y)
  19. reiserfs-objs += xattr_acl.o
  20. endif
  21. # gcc -O2 (the kernel default) is overaggressive on ppc32 when many inline
  22. # functions are used. This causes the compiler to advance the stack
  23. # pointer out of the available stack space, corrupting kernel space,
  24. # and causing a panic. Since this behavior only affects ppc32, this ifeq
  25. # will work around it. If any other architecture displays this behavior,
  26. # add it here.
  27. ccflags-$(CONFIG_PPC32) := $(call cc-ifversion, -lt, 0400, -O1)
  28. TAGS:
  29. etags *.c