Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions collector/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ set(BUILD_DRIVER OFF CACHE BOOL "Build the driver on Linux" FORCE)
set(USE_BUNDLED_DEPS OFF CACHE BOOL "Enable bundled dependencies instead of using the system ones" FORCE)
set(NO_LINK_GRPC_LIBS ON CACHE BOOL "Do not link gRPC libraries" FORCE)
set(WITH_CHISEL ON CACHE BOOL "Include chisel implementation" FORCE)
set(RING_BUF_MULTIPLIER 16)

# Turn OFF falco's unit tests and examples
set(CREATE_TEST_TARGETS OFF CACHE BOOL "Enable make-targets for unit testing" FORCE)
Expand Down
2 changes: 2 additions & 0 deletions kernel-modules/build/prepare-src
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,12 @@ cmake \
-DBUILD_DRIVER=ON \
-DENABLE_DKMS=OFF \
-DBUILD_BPF=ON \
-DRING_BUF_MULTIPLIER=16 \
"$DRIVER_SCRATCH"
# Copy a few files generated by cmake to the source directory.
cp "${BUILD_SCRATCH}/driver/src/Makefile" "${DRIVER_SCRATCH}/driver/Makefile"
cp "${BUILD_SCRATCH}/driver/src/driver_config.h" "${DRIVER_SCRATCH}/driver/driver_config.h"
cp "${BUILD_SCRATCH}/driver/src/ppm_ringbuffer.h" "${DRIVER_SCRATCH}/driver/ppm_ringbuffer.h"

cd "${DRIVER_SCRATCH}/driver"
module_version="$(get_module_version .)"
Expand Down