File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
scripts/package-build/linux-kernel Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change 33ARCH_TRIPLET=$( dpkg-architecture -qDEB_HOST_MULTIARCH)
44CWD=$( pwd)
55KERNEL_VAR_FILE=${CWD} /kernel-vars
6- VPP_INCLUDE_PATH=" ${CWD} /../vpp/vpp/src/vpp-api:${CWD} /../vpp/vpp/src:${CWD} /../vpp/vpp/build-root/build-vpp-native/vpp/CMakeFiles/vpp-api"
7- VPP_LIBRARY_PATH=" ${CWD} /../vpp/vpp/build-root/build-vpp-native/vpp/CMakeFiles/debian/libvppinfra/usr/lib/${ARCH_TRIPLET} :${CWD} /../vpp/vpp/build-root/install-vpp-native/vpp/lib/${ARCH_TRIPLET} "
8- VPP_LIB_CHECK_PATH=" ${CWD} /../vpp/vpp/build-root/build-vpp-native/vpp/CMakeFiles/debian/libvppinfra/usr/lib/${ARCH_TRIPLET} "
96
107ACCEL_SRC=${CWD} /accel-ppp-ng
118
12- # Build VPP as we need VPP libraries
13- cd ../vpp/
14- ./build.py
15- cd ${CWD}
16-
17- if [ ! -d ${VPP_LIB_CHECK_PATH} ]; then
18- echo " VPP source libraries not found"
19- exit 1
20- fi
9+ sudo apt-get update
10+ sudo apt-get install -y vpp-dev
2111
2212if [ ! -d ${ACCEL_SRC} ]; then
2313 echo " Accel-PPP source not found"
@@ -56,7 +46,7 @@ cmake -DBUILD_IPOE_DRIVER=TRUE \
5646 -DMODULES_KDIR=${KERNEL_VERSION}${KERNEL_SUFFIX} \
5747 -DHAVE_VPP=1 \
5848 -DCPACK_TYPE=Debian12 ..
59- CPATH= " ${VPP_INCLUDE_PATH} " LIBRARY_PATH= " ${VPP_LIBRARY_PATH} " make
49+ make
6050
6151# Sign generated Kernel modules
6252${CWD} /sign-modules.sh .
You can’t perform that action at this time.
0 commit comments