Browse Source

xtask: move libbpf submodule

Andrew Werner 1 year ago
parent
commit
d5259ce789
4 changed files with 3 additions and 3 deletions
  1. 1 1
      .github/workflows/gen.yml
  2. 1 1
      .gitmodules
  3. 0 0
      xtask/libbpf
  4. 1 1
      xtask/src/lib.rs

+ 1 - 1
.github/workflows/gen.yml

@@ -12,7 +12,7 @@ jobs:
           submodules: recursive
 
       - name: update libbpf
-        working-directory: libbpf
+        working-directory: xtask/libbpf
         run: |
           set -e
           git fetch origin

+ 1 - 1
.gitmodules

@@ -1,3 +1,3 @@
 [submodule "libbpf"]
-	path = libbpf
+	path = xtask/libbpf
 	url = https://github.com/libbpf/libbpf

+ 0 - 0
libbpf → xtask/libbpf


+ 1 - 1
xtask/src/lib.rs

@@ -14,4 +14,4 @@ pub fn exec(cmd: &mut Command) -> Result<()> {
     }
 }
 
-pub const LIBBPF_DIR: &str = "libbpf";
+pub const LIBBPF_DIR: &str = "xtask/libbpf";