blob: 5bc6155699fd079f43082bb22d6bfc2126d865bd [file] [log] [blame]
Dave Barach8d0f2f02018-03-12 09:31:36 -04001# 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 Barachbfdedbd2016-01-20 09:11:55 -050014# Qemu "p-series" powerpc64
15
Damjan Marion308fb982016-02-26 13:46:57 +010016qppc_os = linux-gnu
Dave Barachbfdedbd2016-01-20 09:11:55 -050017
Damjan Marion308fb982016-02-26 13:46:57 +010018qppc_cross_ldflags = \
19 -Wl,--dynamic-linker=/lib64/ld64.so.1
Dave Barachbfdedbd2016-01-20 09:11:55 -050020
Damjan Marion308fb982016-02-26 13:46:57 +010021qppc_arch = powerpc
22
23qppc_root_packages = vppinfra vlib vlib-api vnet svm \
24 vpp vpp-api-test
25
26vnet_configure_args_qppc = \
Damjan Mariona9a951f2017-01-16 22:06:10 +010027 --without-libssl
Damjan Marion308fb982016-02-26 13:46:57 +010028
29vpp_configure_args_qppc = \
Damjan Mariona9a951f2017-01-16 22:06:10 +010030 --without-libssl
Damjan Marion308fb982016-02-26 13:46:57 +010031
32vlib_configure_args_qppc = --with-pre-data=128
Dave Barachbfdedbd2016-01-20 09:11:55 -050033
34qppc_march=powerpc64
35
36# native tool chain additions for this platform
Damjan Marion308fb982016-02-26 13:46:57 +010037qppc_native_tools = vppapigen
Dave Barachbfdedbd2016-01-20 09:11:55 -050038
Damjan Marion308fb982016-02-26 13:46:57 +010039qppc_uses_dpdk = no
Dave Barachbfdedbd2016-01-20 09:11:55 -050040
Damjan Marion308fb982016-02-26 13:46:57 +010041qppc_debug_TAG_CFLAGS = -m64 -g -O0 -DCLIB_DEBUG -DCLIB_LOG2_CACHE_LINE_BYTES=6 -maltivec
42qppc_debug_TAG_LDFLAGS = -m64 -g -O0 -DCLIB_DEBUG -DCLIB_LOG2_CACHE_LINE_BYTES=6 -maltivec
43
44qppc_TAG_CFLAGS = -m64 -g -O2 -DCLIB_LOG2_CACHE_LINE_BYTES=6 -maltivec
45qppc_TAG_LDFLAGS = -m64 -g -O2 -DCLIB_LOG2_CACHE_LINE_BYTES=6 -maltivec
Dave Barachbfdedbd2016-01-20 09:11:55 -050046
47