Blame view

arch/mips/Kbuild 612 Bytes
96ac6d435   Greg Kroah-Hartman   treewide: Add SPD...
1
  # SPDX-License-Identifier: GPL-2.0
66f9ba101   Sam Ravnborg   MIPS: Add -Werror...
2
3
4
  # Fail on warnings - also for files referenced in subdirs
  # -Werror can be disabled for specific files using:
  # CFLAGS_<file.o> := -Wno-error
5373633cc   Florian Fainelli   MIPS: Disable Wer...
5
  ifeq ($(W),)
66f9ba101   Sam Ravnborg   MIPS: Add -Werror...
6
  subdir-ccflags-y := -Werror
5373633cc   Florian Fainelli   MIPS: Disable Wer...
7
  endif
66f9ba101   Sam Ravnborg   MIPS: Add -Werror...
8

5d25b01cf   Sam Ravnborg   MIPS: Introduce s...
9
10
11
  # platform specific definitions
  include arch/mips/Kbuild.platforms
  obj-y := $(platform-y)
66f9ba101   Sam Ravnborg   MIPS: Add -Werror...
12

ad4b2b627   David Daney   MIPS: Repair Kbui...
13
14
  # make clean traverses $(obj-) without having included .config, so
  # everything ends up here
125be5868   Huacai Chen   MIPS: Fix "make c...
15
  obj- := $(platform-y)
ad4b2b627   David Daney   MIPS: Repair Kbui...
16

9aeb404b4   Sam Ravnborg   MIPS: Introduce a...
17
18
19
20
21
  # mips object files
  # The object files are linked as core-y files would be linked
  
  obj-y += kernel/
  obj-y += mm/
c6610de35   Markos Chandras   MIPS: net: Add BP...
22
  obj-y += net/
ebb5e78cc   Alex Smith   MIPS: Initial imp...
23
  obj-y += vdso/
2235a54de   Sanjay Lal   KVM/MIPS32: Infra...
24
25
26
27
  
  ifdef CONFIG_KVM
  obj-y += kvm/
  endif