Browse Source

Prune compilation items

bryan 2 năm trước cách đây
mục cha
commit
dffa2128a8
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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\"")