Browse Source

Install clang for qosify

bryan 2 years ago
parent
commit
8a7481f64b
1 changed files with 5 additions and 0 deletions
  1. 5 0
      openwrtbuilder

+ 5 - 0
openwrtbuilder

@@ -235,6 +235,7 @@ installDependencies() {
                     "perl-File-Copy"
                     "perl-File-Copy"
                     "perl-FindBin"
                     "perl-FindBin"
                     "perl-Thread-Queue"
                     "perl-Thread-Queue"
+                    "clang" # for qosify
                 )
                 )
                 ;;
                 ;;
             debian|ubuntu)
             debian|ubuntu)
@@ -596,6 +597,10 @@ fromSource() {
     
     
     # output to bindir instead of builddir
     # output to bindir instead of builddir
     echo "CONFIG_BINARY_FOLDER=\"$THIS_BINDIR\"" >> "$SEED_FILE"
     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
+
     make targetclean
     make targetclean
     make download &&
     make download &&
     make -j"$(nproc)" world
     make -j"$(nproc)" world