2014-06-03 20:41:34 +02:00
|
|
|
############################################################################
|
2017-05-09 15:34:59 +02:00
|
|
|
# mm/iob/Make.defs
|
2014-06-03 20:41:34 +02:00
|
|
|
#
|
2024-09-12 16:44:55 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
2021-02-08 13:50:10 +01: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
|
2014-06-03 20:41:34 +02:00
|
|
|
#
|
2021-02-08 13:50:10 +01:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2014-06-03 20:41:34 +02:00
|
|
|
#
|
2021-02-08 13:50:10 +01: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.
|
2014-06-03 20:41:34 +02:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
2017-05-09 15:34:59 +02:00
|
|
|
ifeq ($(CONFIG_MM_IOB),y)
|
2014-06-03 20:41:34 +02:00
|
|
|
|
2014-06-29 00:41:55 +02:00
|
|
|
# Include IOB source files
|
2014-06-03 20:41:34 +02:00
|
|
|
|
2017-04-21 00:08:49 +02:00
|
|
|
CSRCS += iob_add_queue.c iob_alloc.c iob_alloc_qentry.c iob_clone.c
|
|
|
|
CSRCS += iob_concat.c iob_copyin.c iob_copyout.c iob_contig.c iob_free.c
|
|
|
|
CSRCS += iob_free_chain.c iob_free_qentry.c iob_free_queue.c
|
|
|
|
CSRCS += iob_initialize.c iob_pack.c iob_peek_queue.c iob_remove_queue.c
|
2019-08-17 00:42:25 +02:00
|
|
|
CSRCS += iob_statistics.c iob_trimhead.c iob_trimhead_queue.c iob_trimtail.c
|
2021-06-30 08:05:06 +02:00
|
|
|
CSRCS += iob_navail.c iob_free_queue_qentry.c iob_tailroom.c
|
2024-06-06 13:54:54 +02:00
|
|
|
CSRCS += iob_get_queue_info.c iob_reserve.c iob_update_pktlen.c
|
2022-12-19 05:03:35 +01:00
|
|
|
CSRCS += iob_count.c
|
2014-06-03 20:41:34 +02:00
|
|
|
|
2018-09-08 19:21:18 +02:00
|
|
|
ifeq ($(CONFIG_IOB_NOTIFIER),y)
|
2018-09-09 16:32:37 +02:00
|
|
|
CSRCS += iob_notifier.c
|
2018-09-08 19:21:18 +02:00
|
|
|
endif
|
|
|
|
|
2016-06-11 22:14:08 +02:00
|
|
|
ifeq ($(CONFIG_DEBUG_FEATURES),y)
|
2017-04-21 00:08:49 +02:00
|
|
|
CSRCS += iob_dump.c
|
2014-06-22 19:27:57 +02:00
|
|
|
endif
|
|
|
|
|
2022-08-22 09:51:31 +02:00
|
|
|
ifneq ($(CONFIG_IOB_SECTION),"")
|
2022-11-01 14:47:53 +01:00
|
|
|
CFLAGS += ${DEFINE_PREFIX}IOB_SECTION=CONFIG_IOB_SECTION
|
2022-08-22 09:51:31 +02:00
|
|
|
endif
|
|
|
|
|
2014-06-03 20:41:34 +02:00
|
|
|
# Include iob build support
|
|
|
|
|
|
|
|
DEPPATH += --dep-path iob
|
|
|
|
VPATH += :iob
|
2022-11-01 14:47:53 +01:00
|
|
|
CFLAGS += ${INCDIR_PREFIX}$(TOPDIR)$(DELIM)mm$(DELIM)iob
|
2014-06-03 20:41:34 +02:00
|
|
|
|
2017-05-09 19:32:44 +02:00
|
|
|
endif # CONFIG_MM_IOB
|