Sam Ravnborg | 66f9ba1 | 2010-05-30 16:26:40 +0200 | [diff] [blame] | 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 | |
Sam Ravnborg | 5d25b01 | 2010-05-30 16:27:10 +0200 | [diff] [blame] | 6 | # platform specific definitions |
| 7 | include arch/mips/Kbuild.platforms |
| 8 | obj-y := $(platform-y) |
Sam Ravnborg | 66f9ba1 | 2010-05-30 16:26:40 +0200 | [diff] [blame] | 9 | |
David Daney | ad4b2b6 | 2010-10-18 17:51:26 -0700 | [diff] [blame] | 10 | # make clean traverses $(obj-) without having included .config, so |
| 11 | # everything ends up here |
| 12 | obj- := $(platform-) |
| 13 | |
Sam Ravnborg | 9aeb404 | 2010-05-30 13:27:22 +0200 | [diff] [blame] | 14 | # mips object files |
| 15 | # The object files are linked as core-y files would be linked |
| 16 | |
| 17 | obj-y += kernel/ |
| 18 | obj-y += mm/ |
Markos Chandras | c6610de | 2014-04-08 12:47:14 +0100 | [diff] [blame] | 19 | obj-y += net/ |
Alex Smith | ebb5e78 | 2015-10-21 09:54:38 +0100 | [diff] [blame] | 20 | obj-y += vdso/ |
Sanjay Lal | 2235a54 | 2012-11-21 18:33:59 -0800 | [diff] [blame] | 21 | |
| 22 | ifdef CONFIG_KVM |
| 23 | obj-y += kvm/ |
| 24 | endif |