From: Felix Fietkau Date: Thu, 25 Aug 2022 10:16:07 +0000 (+0200) Subject: build.sh: add libbpf X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=639b8bfe25b540ce5b7f9619530b7d5f7c975644;p=project%2Funetd.git build.sh: add libbpf Signed-off-by: Felix Fietkau --- diff --git a/build.sh b/build.sh index f404439..9085334 100755 --- a/build.sh +++ b/build.sh @@ -22,11 +22,15 @@ clone() ( UNAME="$(uname)" set -e -x rm -rf install +mkdir -p install +ln -s lib install/lib64 clone libubox git://git.openwrt.org/project/libubox.git build libubox -DBUILD_LUA=off if [ "$UNAME" = "Linux" ]; then clone libnl-tiny git://git.openwrt.org/project/libnl-tiny.git build libnl-tiny -DBUILD_LUA=off + clone libbpf https://github.com/libbpf/libbpf + make -j9 -C libbpf/src PREFIX=$PWD/install all install fi rm -f install/lib/*.{so,dylib} if [ "$UNAME" = "Linux" ]; then