blob: 8fb00456b05cffa80954da715741d5638ff46ac7 [file] [log] [blame]
Dave Barach61efa142016-01-22 08:23:09 -05001# Override OS so we can use the sdk toolchain instead of building one
2thunder_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
6thunder_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
10thunder_arch = aarch64
11# suppress -march=foo, the cross compiler doesn't understand it
12thunder_march = " "
13
14thunder_root_packages = vppinfra vlib-cavium-dpdk vnet-cavium-dpdk cavium-dpdk \
15 vpp-cavium-dpdk vpp-api-test-cavium-dpdk
16
17vnet-cavium-dpdk_configure_args_thunder = \
18 --with-dpdk --without-ipsec --without-vcgn --without-ipv6sr
19
20vpp-cavium-dpdk_configure_args_thunder = \
21 --with-dpdk --without-ipsec --without-vcgn --without-ipv6sr
22
23cavium-dpdk_configure_args_thunder = --with-headroom=256
24
25vlib-cavium-dpdk_configure_args_thunder = --with-pre-data=128
26
27# native tool chain additions for this platform
28thunder_native_tools = vppapigen
29
30thunder_debug_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG
31thunder_debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG
32
33thunder_TAG_CFLAGS = -g -O2
34thunder_TAG_LDFLAGS = -g -O2
35
36