Add support for AArch32
[vpp.git] / build-data / platforms / arm32.mk
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
18 arm32_uses_dpdk = no
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
25
26 vnet_configure_args_arm32 = --without-vcgn --without-ipsec --without-ipv6sr
27 vpp_configure_args_arm32 = --without-vcgn --without-ipsec --without-ipv6sr
28
29 arm32_debug_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 -DVLIB_MAX_CPUS=4 -march=armv7-a \
30         -fstack-protector-all -fPIC -Werror
31 arm32_debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 -DVLIB_MAX_CPUS=4 -march=armv7-a \
32         -fstack-protector-all -fPIC -Werror
33
34 arm32_TAG_CFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -DVLIB_MAX_CPUS=4 -march=armv7-a \
35         -fstack-protector -fPIC -Werror
36 arm32_TAG_LDFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -DVLIB_MAX_CPUS=4 -march=armv7-a \
37         -fstack-protector -fPIC -Werror