1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the Linux proc filesystem routines.
4#
5
6obj-y   += proc.o
7
8CFLAGS_task_mmu.o	+= $(call cc-option,-Wno-override-init,)
9proc-y			:= nommu.o task_nommu.o
10proc-$(CONFIG_MMU)	:= task_mmu.o
11
12proc-y       += inode.o root.o base.o generic.o array.o \
13		fd.o
14proc-$(CONFIG_TTY)      += proc_tty.o
15proc-y	+= cmdline.o
16proc-y	+= consoles.o
17proc-y	+= cpuinfo.o
18proc-y	+= devices.o
19proc-y	+= interrupts.o
20proc-y	+= loadavg.o
21proc-y	+= meminfo.o
22proc-y	+= stat.o
23proc-y	+= uptime.o
24proc-y	+= util.o
25proc-y	+= version.o
26proc-y	+= softirqs.o
27proc-y	+= namespaces.o
28proc-y	+= self.o
29proc-y	+= thread_self.o
30proc-$(CONFIG_PROC_SYSCTL)	+= proc_sysctl.o
31proc-$(CONFIG_NET)		+= proc_net.o
32proc-$(CONFIG_PROC_KCORE)	+= kcore.o
33proc-$(CONFIG_PROC_VMCORE)	+= vmcore.o
34proc-$(CONFIG_PRINTK)	+= kmsg.o
35proc-$(CONFIG_PROC_PAGE_MONITOR)	+= page.o
36proc-$(CONFIG_BOOT_CONFIG)	+= bootconfig.o
37