blob: 815cf9de71f6566a4345d4abcc7884ee8473a4c9 [file] [log] [blame]
Christophe Fontainefef15b42016-04-09 12:38:49 +09001# Copyright (c) 2016 Cisco and/or its affiliates.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at:
5#
6# http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14# vector packet processor
15arm32_arch = native
16arm32_native_tools = vppapigen
17
Christophe Fontaine737547e2016-05-11 08:40:33 +000018arm32_uses_dpdk = yes
Christophe Fontainefef15b42016-04-09 12:38:49 +090019arm32_uses_openssl = no
20
21arm32_root_packages = vpp vlib vlib-api vnet svm vpp-api-test \
Michal Cmarada4e633e12019-01-31 10:57:40 +010022 gmod
Christophe Fontainefef15b42016-04-09 12:38:49 +090023
24vlib_configure_args_arm32 = --with-pre-data=128
Damjan Mariona9a951f2017-01-16 22:06:10 +010025vnet_configure_args_arm32 = --with-dpdk --without-libssl
26vpp_configure_args_arm32 = --with-dpdk --without-libssl
Christophe Fontainefef15b42016-04-09 12:38:49 +090027
Christophe Fontaine737547e2016-05-11 08:40:33 +000028arm32_dpdk_arch = "armv7a"
29arm32_dpdk_target = "arm-armv7a-linuxapp-gcc"
30arm32_dpdk_make_extra_args = "CPU_CFLAGS='-mfloat-abi=hard' \
31 CONFIG_RTE_EAL_IGB_UIO=y \
32 CONFIG_RTE_LIBRTE_E1000_PMD=y \
33 CONFIG_RTE_MAX_LCORE=4 \
34 CONFIG_RTE_MAX_NUMA_NODES=1"
35
Christophe Fontainefef15b42016-04-09 12:38:49 +090036
Neale Ranns2a81d9a2021-01-20 09:03:30 +000037arm32_debug_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG -D_FORTIFY_SOURCE=2 -DVLIB_MAX_CPUS=4 -march=armv7-a \
Christophe Fontainefef15b42016-04-09 12:38:49 +090038 -fstack-protector-all -fPIC -Werror
Neale Ranns2a81d9a2021-01-20 09:03:30 +000039arm32_debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG -D_FORTIFY_SOURCE=2 -DVLIB_MAX_CPUS=4 -march=armv7-a \
Christophe Fontainefef15b42016-04-09 12:38:49 +090040 -fstack-protector-all -fPIC -Werror
41
Neale Ranns2a81d9a2021-01-20 09:03:30 +000042arm32_TAG_CFLAGS = -g -O2 -D_FORTIFY_SOURCE=2 -DVLIB_MAX_CPUS=4 -march=armv7-a \
Christophe Fontainefef15b42016-04-09 12:38:49 +090043 -fstack-protector -fPIC -Werror
Neale Ranns2a81d9a2021-01-20 09:03:30 +000044arm32_TAG_LDFLAGS = -g -O2 -D_FORTIFY_SOURCE=2 -DVLIB_MAX_CPUS=4 -march=armv7-a \
Christophe Fontainefef15b42016-04-09 12:38:49 +090045 -fstack-protector -fPIC -Werror