blob: 47d4ad5ada75abf046eb44ca900fa4afd1183134 [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 \
Marek Gradzki948b95a2016-07-20 14:53:48 +020022 jvpp 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
37arm32_debug_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 -DVLIB_MAX_CPUS=4 -march=armv7-a \
38 -fstack-protector-all -fPIC -Werror
39arm32_debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 -DVLIB_MAX_CPUS=4 -march=armv7-a \
40 -fstack-protector-all -fPIC -Werror
41
42arm32_TAG_CFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -DVLIB_MAX_CPUS=4 -march=armv7-a \
43 -fstack-protector -fPIC -Werror
44arm32_TAG_LDFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -DVLIB_MAX_CPUS=4 -march=armv7-a \
45 -fstack-protector -fPIC -Werror