2011-05-08 04:08:46 +08:00
|
|
|
############################################################################
|
|
|
|
# fs/mmap/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
|
2011-05-08 04:08:46 +08:00
|
|
|
#
|
2021-02-03 21:47:23 +08:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2011-05-08 04:08:46 +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.
|
2011-05-08 04:08:46 +08:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
2021-06-24 02:29:19 +08:00
|
|
|
CSRCS += fs_mmap.c fs_munmap.c fs_mmisc.c
|
2011-05-08 04:08:46 +08:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_FS_RAMMAP),y)
|
2020-09-17 15:26:35 +08:00
|
|
|
CSRCS += fs_rammap.c
|
2011-05-08 04:08:46 +08:00
|
|
|
endif
|
|
|
|
|
2023-01-09 16:02:24 +08:00
|
|
|
ifeq ($(CONFIG_FS_ANONMAP),y)
|
|
|
|
CSRCS += fs_anonmap.c
|
|
|
|
endif
|
|
|
|
|
2013-01-16 23:41:27 +08:00
|
|
|
# Include MMAP build support
|
|
|
|
|
|
|
|
DEPPATH += --dep-path mmap
|
|
|
|
VPATH += :mmap
|