| ############################################################################ |
| # fs/driver/Make.defs |
| # |
| # 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 |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # 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. |
| # |
| ############################################################################ |
| |
| CSRCS += fs_registerdriver.c fs_unregisterdriver.c |
| CSRCS += fs_registerpipedriver.c fs_unregisterpipedriver.c |
| |
| # Don't built-in block driver support if there are no mountpoints |
| |
| ifneq ($(CONFIG_DISABLE_MOUNTPOINT),y) |
| CSRCS += fs_registerblockdriver.c fs_unregisterblockdriver.c |
| CSRCS += fs_findblockdriver.c fs_openblockdriver.c fs_closeblockdriver.c |
| CSRCS += fs_blockpartition.c fs_findmtddriver.c fs_closemtddriver.c |
| |
| ifeq ($(CONFIG_MTD),y) |
| CSRCS += fs_registermtddriver.c fs_unregistermtddriver.c |
| CSRCS += fs_mtdproxy.c |
| ifeq ($(CONFIG_MTD_PARTITION),y) |
| CSRCS += fs_mtdpartition.c |
| endif |
| endif |
| |
| ifeq ($(CONFIG_BCH),y) |
| ifneq ($(CONFIG_DISABLE_PSEUDOFS_OPERATIONS),y) |
| CSRCS += fs_blockproxy.c |
| endif |
| endif # CONFIG_BCH |
| endif # CONFIG_DISABLE_MOUNTPOINT |
| |
| # Include driver build support |
| |
| DEPPATH += --dep-path driver |
| VPATH += :driver |