diff --git a/Makefile.toml b/Makefile.toml index 68d850d..4643273 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -4,8 +4,13 @@ install_crate_args = ["cargo-bpf", "--git", "https://github.com/redsift/redbpf.g command = "cargo" args = ["bpf", "build", "block"] +[tasks.bpf] +command = "llvm-strip-10" +args = ["-R", ".text", "target/bpf/programs/block/block.elf"] +dependencies = ["build_xdp"] + [tasks.release] description = "Build release" command = "cargo" args = ["build", "--release"] -dependencies = ["build_xdp"] +dependencies = ["bpf"]