Kbuild 542 B

123456789101112131415161718192021222324
  1. # Fail on warnings - also for files referenced in subdirs
  2. # -Werror can be disabled for specific files using:
  3. # CFLAGS_<file.o> := -Wno-error
  4. subdir-ccflags-y := -Werror
  5. # platform specific definitions
  6. include arch/mips/Kbuild.platforms
  7. obj-y := $(platform-y)
  8. # make clean traverses $(obj-) without having included .config, so
  9. # everything ends up here
  10. obj- := $(platform-)
  11. # mips object files
  12. # The object files are linked as core-y files would be linked
  13. obj-y += kernel/
  14. obj-y += mm/
  15. obj-y += net/
  16. ifdef CONFIG_KVM
  17. obj-y += kvm/
  18. endif