blob: 5e1adabfeeac68ec42c5e4c5251bc5b11344e8b6 [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 \
22 vpp-japi gmod
23
24vlib_configure_args_arm32 = --with-pre-data=128
Christophe Fontaine737547e2016-05-11 08:40:33 +000025vnet_configure_args_arm32 = --with-dpdk --without-vcgn --without-ipsec --without-ipv6sr
26vpp_configure_args_arm32 = --with-dpdk --without-vcgn --without-ipsec --without-ipv6sr
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