Makefile 870 字节
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
L
Linus Torvalds 已提交
2 3 4 5
#
# Makefile for the Linux proc filesystem routines.
#

6
obj-y   += proc.o
L
Linus Torvalds 已提交
7

8
CFLAGS_task_mmu.o	+= $(call cc-option,-Wno-override-init,)
L
Linus Torvalds 已提交
9
proc-y			:= nommu.o task_nommu.o
10
proc-$(CONFIG_MMU)	:= task_mmu.o
L
Linus Torvalds 已提交
11 12

proc-y       += inode.o root.o base.o generic.o array.o \
13 14
		fd.o
proc-$(CONFIG_TTY)      += proc_tty.o
15
proc-y	+= cmdline.o
16
proc-y	+= consoles.o
17
proc-y	+= cpuinfo.o
18
proc-y	+= devices.o
19
proc-y	+= interrupts.o
20
proc-y	+= loadavg.o
21
proc-y	+= meminfo.o
22
proc-y	+= stat.o
23
proc-y	+= uptime.o
A
Alexey Dobriyan 已提交
24
proc-y	+= util.o
25
proc-y	+= version.o
26
proc-y	+= softirqs.o
27
proc-y	+= namespaces.o
28
proc-y	+= self.o
29
proc-y	+= thread_self.o
30
proc-$(CONFIG_PROC_SYSCTL)	+= proc_sysctl.o
31
proc-$(CONFIG_NET)		+= proc_net.o
L
Linus Torvalds 已提交
32
proc-$(CONFIG_PROC_KCORE)	+= kcore.o
33
proc-$(CONFIG_PROC_VMCORE)	+= vmcore.o
34
proc-$(CONFIG_PRINTK)	+= kmsg.o
35
proc-$(CONFIG_PROC_PAGE_MONITOR)	+= page.o