aboutsummaryrefslogtreecommitdiffstats
path: root/build-data/platforms/thunder.mk
blob: f891f4a15898410ef731bbd2b1b4dc8931328705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Override OS so we can use the sdk toolchain instead of building one
thunder_os = thunderx-linux-gnu

# Override CROSS_LDFLAGS so we can use 
# /lib/aarch64-linux-gnu/ld-linux-aarch64.so.1 instead of building glibc
thunder_cross_ldflags = \
    -Wl,--dynamic-linker=/lib/aarch64-linux-gnu/ld-linux-aarch64.so.1	\
    -Wl,-rpath -Wl,$(lots_of_slashes_to_pad_names)$(TOOL_INSTALL_LIB_DIR)

thunder_arch = aarch64
# suppress -march=foo, the cross compiler doesn't understand it
thunder_march = " "

thunder_root_packages = vppinfra vlib-cavium-dpdk vnet-cavium-dpdk cavium-dpdk \
	vpp-cavium-dpdk vpp-api-test-cavium-dpdk

vnet-cavium-dpdk_configure_args_thunder = \
	--with-dpdk --without-ipsec --without-ipv6sr

vpp-cavium-dpdk_configure_args_thunder = \
	--with-dpdk --without-ipsec --without-ipv6sr

cavium-dpdk_configure_args_thunder = --with-headroom=256

vlib-cavium-dpdk_configure_args_thunder = --with-pre-data=128

# native tool chain additions for this platform
thunder_native_tools = vppapigen 

thunder_debug_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG 
thunder_debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG

thunder_TAG_CFLAGS = -g -O2
thunder_TAG_LDFLAGS = -g -O2