Add build/install scripts and improve README.

This commit is contained in:
Christian Deacon
2025-02-23 17:27:27 -05:00
parent f771412f6e
commit 816960bf39
9 changed files with 225 additions and 46 deletions

13
scripts/build.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
STATIC="$1"
if [ -z "$STATIC" ]; then
STATIC=0
fi
if [ -z "$ROOT" ]; then
LIBBPF_LIBXDP_STATIC=$STATIC make
else
cd $ROOT && LIBBPF_LIBXDP_STATIC=$STATIC make
fi