mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-20 16:29:07 +08:00
It's now in bpf-next and this work around is not needed anymore. Signed-off-by: Andrii Nakryiko <andriin@fb.com>
15 lines
241 B
Bash
Executable File
15 lines
241 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eux
|
|
|
|
REPO_PATH=$1
|
|
|
|
${VMTEST_ROOT}/checkout_latest_kernel.sh ${REPO_PATH}
|
|
cd ${REPO_PATH}
|
|
|
|
if [[ "${KERNEL}" = 'LATEST' ]]; then
|
|
cp ${VMTEST_ROOT}/configs/latest.config .config
|
|
make -j $((4*$(nproc))) olddefconfig all
|
|
fi
|
|
|