2013-11-14 05:59:14 +08:00
|
|
|
############################################################################
|
|
|
|
# fs/procfs/Make.defs
|
|
|
|
#
|
2021-02-03 21:47:23 +08:00
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
|
|
# this work for additional information regarding copyright ownership. The
|
|
|
|
# ASF licenses this file to you under the Apache License, Version 2.0 (the
|
|
|
|
# "License"); you may not use this file except in compliance with the
|
|
|
|
# License. You may obtain a copy of the License at
|
2013-11-14 05:59:14 +08:00
|
|
|
#
|
2021-02-03 21:47:23 +08:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2013-11-14 05:59:14 +08:00
|
|
|
#
|
2021-02-03 21:47:23 +08:00
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
# License for the specific language governing permissions and limitations
|
|
|
|
# under the License.
|
2013-11-14 05:59:14 +08:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_FS_PROCFS),y)
|
|
|
|
# Files required for procfs file system support
|
|
|
|
|
2013-12-15 00:34:08 +08:00
|
|
|
CSRCS += fs_procfs.c fs_procfsutil.c fs_procfsproc.c fs_procfsuptime.c
|
2019-08-17 06:42:25 +08:00
|
|
|
CSRCS += fs_procfscpuload.c fs_procfsmeminfo.c fs_procfsiobinfo.c
|
2021-10-14 19:39:44 +08:00
|
|
|
CSRCS += fs_procfsversion.c fs_procfstcbinfo.c
|
2017-11-13 23:08:39 +08:00
|
|
|
|
2018-11-25 03:33:37 +08:00
|
|
|
ifeq ($(CONFIG_SCHED_CRITMONITOR),y)
|
|
|
|
CSRCS += fs_procfscritmon.c
|
|
|
|
endif
|
|
|
|
|
2013-11-14 05:59:14 +08:00
|
|
|
# Include procfs build support
|
|
|
|
|
|
|
|
DEPPATH += --dep-path procfs
|
|
|
|
VPATH += :procfs
|
|
|
|
|
|
|
|
endif
|