Dave Barach | 8d0f2f0 | 2018-03-12 09:31:36 -0400 | [diff] [blame] | 1 | # Copyright (c) 2015 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 | |
Dave Barach | bfdedbd | 2016-01-20 09:11:55 -0500 | [diff] [blame] | 14 | # Qemu "p-series" powerpc64 |
| 15 | |
Damjan Marion | 308fb98 | 2016-02-26 13:46:57 +0100 | [diff] [blame] | 16 | qppc_os = linux-gnu |
Dave Barach | bfdedbd | 2016-01-20 09:11:55 -0500 | [diff] [blame] | 17 | |
Damjan Marion | 308fb98 | 2016-02-26 13:46:57 +0100 | [diff] [blame] | 18 | qppc_cross_ldflags = \ |
| 19 | -Wl,--dynamic-linker=/lib64/ld64.so.1 |
Dave Barach | bfdedbd | 2016-01-20 09:11:55 -0500 | [diff] [blame] | 20 | |
Damjan Marion | 308fb98 | 2016-02-26 13:46:57 +0100 | [diff] [blame] | 21 | qppc_arch = powerpc |
| 22 | |
| 23 | qppc_root_packages = vppinfra vlib vlib-api vnet svm \ |
| 24 | vpp vpp-api-test |
| 25 | |
| 26 | vnet_configure_args_qppc = \ |
Damjan Marion | a9a951f | 2017-01-16 22:06:10 +0100 | [diff] [blame] | 27 | --without-libssl |
Damjan Marion | 308fb98 | 2016-02-26 13:46:57 +0100 | [diff] [blame] | 28 | |
| 29 | vpp_configure_args_qppc = \ |
Damjan Marion | a9a951f | 2017-01-16 22:06:10 +0100 | [diff] [blame] | 30 | --without-libssl |
Damjan Marion | 308fb98 | 2016-02-26 13:46:57 +0100 | [diff] [blame] | 31 | |
| 32 | vlib_configure_args_qppc = --with-pre-data=128 |
Dave Barach | bfdedbd | 2016-01-20 09:11:55 -0500 | [diff] [blame] | 33 | |
| 34 | qppc_march=powerpc64 |
| 35 | |
| 36 | # native tool chain additions for this platform |
Damjan Marion | 308fb98 | 2016-02-26 13:46:57 +0100 | [diff] [blame] | 37 | qppc_native_tools = vppapigen |
Dave Barach | bfdedbd | 2016-01-20 09:11:55 -0500 | [diff] [blame] | 38 | |
Damjan Marion | 308fb98 | 2016-02-26 13:46:57 +0100 | [diff] [blame] | 39 | qppc_uses_dpdk = no |
Dave Barach | bfdedbd | 2016-01-20 09:11:55 -0500 | [diff] [blame] | 40 | |
Damjan Marion | 308fb98 | 2016-02-26 13:46:57 +0100 | [diff] [blame] | 41 | qppc_debug_TAG_CFLAGS = -m64 -g -O0 -DCLIB_DEBUG -DCLIB_LOG2_CACHE_LINE_BYTES=6 -maltivec |
| 42 | qppc_debug_TAG_LDFLAGS = -m64 -g -O0 -DCLIB_DEBUG -DCLIB_LOG2_CACHE_LINE_BYTES=6 -maltivec |
| 43 | |
| 44 | qppc_TAG_CFLAGS = -m64 -g -O2 -DCLIB_LOG2_CACHE_LINE_BYTES=6 -maltivec |
| 45 | qppc_TAG_LDFLAGS = -m64 -g -O2 -DCLIB_LOG2_CACHE_LINE_BYTES=6 -maltivec |
Dave Barach | bfdedbd | 2016-01-20 09:11:55 -0500 | [diff] [blame] | 46 | |
| 47 | |