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 \ |
Michal Cmarada | 4e633e1 | 2019-01-31 10:57:40 +0100 | [diff] [blame] | 22 | gmod |
Christophe Fontaine | fef15b4 | 2016-04-09 12:38:49 +0900 | [diff] [blame] | 23 | |
| 24 | vlib_configure_args_arm32 = --with-pre-data=128 |
Damjan Marion | a9a951f | 2017-01-16 22:06:10 +0100 | [diff] [blame] | 25 | vnet_configure_args_arm32 = --with-dpdk --without-libssl |
| 26 | vpp_configure_args_arm32 = --with-dpdk --without-libssl |
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 | |
Mohammed Hawari | b78607b | 2021-01-22 14:30:56 +0100 | [diff] [blame] | 37 | arm32_debug_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG -DVLIB_MAX_CPUS=4 -march=armv7-a \ |
Christophe Fontaine | fef15b4 | 2016-04-09 12:38:49 +0900 | [diff] [blame] | 38 | -fstack-protector-all -fPIC -Werror |
Mohammed Hawari | b78607b | 2021-01-22 14:30:56 +0100 | [diff] [blame] | 39 | arm32_debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG -DVLIB_MAX_CPUS=4 -march=armv7-a \ |
Christophe Fontaine | fef15b4 | 2016-04-09 12:38:49 +0900 | [diff] [blame] | 40 | -fstack-protector-all -fPIC -Werror |
| 41 | |
Neale Ranns | 2a81d9a | 2021-01-20 09:03:30 +0000 | [diff] [blame] | 42 | arm32_TAG_CFLAGS = -g -O2 -D_FORTIFY_SOURCE=2 -DVLIB_MAX_CPUS=4 -march=armv7-a \ |
Christophe Fontaine | fef15b4 | 2016-04-09 12:38:49 +0900 | [diff] [blame] | 43 | -fstack-protector -fPIC -Werror |
Neale Ranns | 2a81d9a | 2021-01-20 09:03:30 +0000 | [diff] [blame] | 44 | arm32_TAG_LDFLAGS = -g -O2 -D_FORTIFY_SOURCE=2 -DVLIB_MAX_CPUS=4 -march=armv7-a \ |
Christophe Fontaine | fef15b4 | 2016-04-09 12:38:49 +0900 | [diff] [blame] | 45 | -fstack-protector -fPIC -Werror |