f891f4a15898410ef731bbd2b1b4dc8931328705
[vpp.git] / build-data / platforms / thunder.mk
1 # Override OS so we can use the sdk toolchain instead of building one
2 thunder_os = thunderx-linux-gnu
3
4 # Override CROSS_LDFLAGS so we can use 
5 # /lib/aarch64-linux-gnu/ld-linux-aarch64.so.1 instead of building glibc
6 thunder_cross_ldflags = \
7     -Wl,--dynamic-linker=/lib/aarch64-linux-gnu/ld-linux-aarch64.so.1   \
8     -Wl,-rpath -Wl,$(lots_of_slashes_to_pad_names)$(TOOL_INSTALL_LIB_DIR)
9
10 thunder_arch = aarch64
11 # suppress -march=foo, the cross compiler doesn't understand it
12 thunder_march = " "
13
14 thunder_root_packages = vppinfra vlib-cavium-dpdk vnet-cavium-dpdk cavium-dpdk \
15         vpp-cavium-dpdk vpp-api-test-cavium-dpdk
16
17 vnet-cavium-dpdk_configure_args_thunder = \
18         --with-dpdk --without-ipsec --without-ipv6sr
19
20 vpp-cavium-dpdk_configure_args_thunder = \
21         --with-dpdk --without-ipsec --without-ipv6sr
22
23 cavium-dpdk_configure_args_thunder = --with-headroom=256
24
25 vlib-cavium-dpdk_configure_args_thunder = --with-pre-data=128
26
27 # native tool chain additions for this platform
28 thunder_native_tools = vppapigen 
29
30 thunder_debug_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG 
31 thunder_debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG
32
33 thunder_TAG_CFLAGS = -g -O2
34 thunder_TAG_LDFLAGS = -g -O2
35
36