2017-12-18 15:56:25 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2017 Intel Corporation
|
2017-10-17 12:43:57 +00:00
|
|
|
|
2018-04-26 10:59:21 +00:00
|
|
|
allow_experimental_apis = true
|
|
|
|
|
2018-04-16 13:24:36 +00:00
|
|
|
extra_flags = []
|
|
|
|
|
|
|
|
foreach flag: extra_flags
|
|
|
|
if cc.has_argument(flag)
|
|
|
|
cflags += flag
|
|
|
|
endif
|
|
|
|
endforeach
|
|
|
|
|
2018-04-16 13:24:33 +00:00
|
|
|
sources = files('rte_mempool.c', 'rte_mempool_ops.c',
|
|
|
|
'rte_mempool_ops_default.c')
|
2017-10-17 12:43:57 +00:00
|
|
|
headers = files('rte_mempool.h')
|
|
|
|
deps += ['ring']
|
2018-04-11 12:30:05 +00:00
|
|
|
|
|
|
|
# memseg walk is not yet part of stable API
|
|
|
|
allow_experimental_apis = true
|