Ver Fonte

Symlink clang for qosify

bryan há 2 anos atrás
pai
commit
d425cc9ed2
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      openwrtbuilder

+ 2 - 1
openwrtbuilder

@@ -267,6 +267,7 @@ installDependencies() {
                     "binutils"
                     "bison"
                     "bzip2"
+                    "clang"
                     "fakeroot"
                     "file"
                     "findutils"
@@ -599,7 +600,7 @@ fromSource() {
     echo "CONFIG_BINARY_FOLDER=\"$THIS_BINDIR\"" >> "$SEED_FILE"
 
     # TODO symlink clang for qosify
-    ln -s /usr/bin/clang /home/bryan/develop-local/openwrt/staging_dir/host/llvm-bpf/bin/clang
+    ln -s "$(which clang)" "$GITSRCDIR/staging_dir/host/llvm-bpf/bin/clang"
 
     make targetclean
     make download &&