소스 검색

Install clang for qosify

bryan 2 년 전
부모
커밋
8a7481f64b
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      openwrtbuilder

+ 5 - 0
openwrtbuilder

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