瀏覽代碼

Prune compilation items

bryan 2 年之前
父節點
當前提交
dffa2128a8
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      openwrtbuilder

+ 3 - 0
openwrtbuilder

@@ -580,6 +580,9 @@ fromSource() {
     done
 
     make_opts+=("CONFIG_TARGET_MULTI_PROFILE=n")
+    make_opts+=("CONFIG_TARGET_ALL_PROFILES=n")
+    make_opts+=("CONFIG_SDK=n")
+    make_opts+=("CONFIG_SDK_LLVM_BPF=n")
     make_opts+=("CONFIG_TARGET_PROFILE=DEVICE_${P_ARR[profile]}")
     make_opts+=("CONFIG_TARGET_DEVICE_${P_ARR[target]//\//_}_DEVICE_${P_ARR[profile]}=y")
     make_opts+=("CONFIG_BINARY_FOLDER=\"$THIS_BINDIR\"")