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