1 # Override OS so we can use the sdk toolchain instead of building one
2 thunder_os = thunderx-linux-gnu
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)
10 thunder_arch = aarch64
11 # suppress -march=foo, the cross compiler doesn't understand it
14 thunder_root_packages = vppinfra vlib-cavium-dpdk vnet-cavium-dpdk cavium-dpdk \
15 vpp-cavium-dpdk vpp-api-test-cavium-dpdk
17 vnet-cavium-dpdk_configure_args_thunder = \
18 --with-dpdk --without-ipsec --without-ipv6sr
20 vpp-cavium-dpdk_configure_args_thunder = \
21 --with-dpdk --without-ipsec --without-ipv6sr
23 cavium-dpdk_configure_args_thunder = --with-headroom=256
25 vlib-cavium-dpdk_configure_args_thunder = --with-pre-data=128
27 # native tool chain additions for this platform
28 thunder_native_tools = vppapigen
30 thunder_debug_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG
31 thunder_debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG
33 thunder_TAG_CFLAGS = -g -O2
34 thunder_TAG_LDFLAGS = -g -O2