diff options
| author | ruki <[email protected]> | 2021-03-17 23:30:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-03-17 23:30:31 +0800 |
| commit | 9cee4eb02ae2b45f83045a50d0b46df8a04cd1fe (patch) | |
| tree | 02e7409cb226e3a17c56e12b0ea8e747b259063b /xmake/rules | |
| parent | 9bc4cf11a7841fd12baa024d1ee328bc478e07a8 (diff) | |
improve bpf rule
Diffstat (limited to 'xmake/rules')
| -rw-r--r-- | xmake/rules/platform/linux/bpf/xmake.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xmake/rules/platform/linux/bpf/xmake.lua b/xmake/rules/platform/linux/bpf/xmake.lua index 08af19710..9a67c32cf 100644 --- a/xmake/rules/platform/linux/bpf/xmake.lua +++ b/xmake/rules/platform/linux/bpf/xmake.lua @@ -35,7 +35,6 @@ rule("platform.linux.bpf") batchcmds:mkdir(path.directory(objectfile)) batchcmds:compile(sourcefile, objectfile, {configs = {force = {cxflags = {"-target bpf", "-g"}, defines = "__TARGET_ARCH_x86"}}}) batchcmds:mkdir(path.directory(headerfile)) - batchcmds:vrunv("llvm-strip", {"-g", objectfile}) batchcmds:vrunv("bpftool", {"gen", "skeleton", objectfile}, {stdout = headerfile}) batchcmds:add_depfiles(sourcefile) batchcmds:set_depmtime(os.mtime(headerfile)) |
