Christophe Fontaine | fef15b4 | 2016-04-09 12:38:49 +0900 | [diff] [blame] | 1 | # 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 |
| 15 | arm32_arch = native |
| 16 | arm32_native_tools = vppapigen |
| 17 | |
Christophe Fontaine | 737547e | 2016-05-11 08:40:33 +0000 | [diff] [blame] | 18 | arm32_uses_dpdk = yes |
Christophe Fontaine | fef15b4 | 2016-04-09 12:38:49 +0900 | [diff] [blame] | 19 | arm32_uses_openssl = no |
| 20 | |
| 21 | arm32_root_packages = vpp vlib vlib-api vnet svm vpp-api-test \ |
| 22 | vpp-japi gmod |
| 23 | |
| 24 | vlib_configure_args_arm32 = --with-pre-data=128 |
Ole Troan | ea3e1fc | 2016-06-24 20:10:30 +0200 | [diff] [blame] | 25 | vnet_configure_args_arm32 = --with-dpdk --without-ipsec --without-ipv6sr |
| 26 | vpp_configure_args_arm32 = --with-dpdk --without-ipsec --without-ipv6sr |
Christophe Fontaine | fef15b4 | 2016-04-09 12:38:49 +0900 | [diff] [blame] | 27 | |
Christophe Fontaine | 737547e | 2016-05-11 08:40:33 +0000 | [diff] [blame] | 28 | arm32_dpdk_arch = "armv7a" |
| 29 | arm32_dpdk_target = "arm-armv7a-linuxapp-gcc" |
| 30 | arm32_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 Fontaine | fef15b4 | 2016-04-09 12:38:49 +0900 | [diff] [blame] | 36 | |
| 37 | arm32_debug_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 -DVLIB_MAX_CPUS=4 -march=armv7-a \ |
| 38 | -fstack-protector-all -fPIC -Werror |
| 39 | arm32_debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 -DVLIB_MAX_CPUS=4 -march=armv7-a \ |
| 40 | -fstack-protector-all -fPIC -Werror |
| 41 | |
| 42 | arm32_TAG_CFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -DVLIB_MAX_CPUS=4 -march=armv7-a \ |
| 43 | -fstack-protector -fPIC -Werror |
| 44 | arm32_TAG_LDFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -DVLIB_MAX_CPUS=4 -march=armv7-a \ |
| 45 | -fstack-protector -fPIC -Werror |