1 # SPDX-License-Identifier: GPL-2.0 << 2 # 1 # 3 # Makefile for the Linux proc filesystem routi 2 # Makefile for the Linux proc filesystem routines. 4 # 3 # >> 4 # Note! Dependencies are done automagically by 'make dep', which also >> 5 # removes any old dependencies. DON'T put your own dependencies here >> 6 # unless it's something special (not a .c file). >> 7 # >> 8 # Note 2! The CFLAGS definitions are now in the main makefile. >> 9 >> 10 O_TARGET := proc.o >> 11 >> 12 export-objs := root.o 5 13 6 obj-y += proc.o !! 14 obj-y := inode.o root.o base.o generic.o array.o \ >> 15 kmsg.o proc_tty.o proc_misc.o kcore.o 7 16 8 CFLAGS_task_mmu.o += -Wno-override-init !! 17 ifeq ($(CONFIG_PROC_DEVICETREE),y) 9 proc-y := nommu.o task_nommu. !! 18 obj-y += proc_devtree.o 10 proc-$(CONFIG_MMU) := task_mmu.o !! 19 endif 11 20 12 proc-y += inode.o root.o base.o generic. !! 21 include $(TOPDIR)/Rules.make 13 fd.o << 14 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 << 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 << 31 proc-$(CONFIG_NET) += proc_net.o << 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) += pag << 36 proc-$(CONFIG_BOOT_CONFIG) += bootconfig. <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.