Browse Source

More work on --source

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

+ 1 - 8
openwrtbuilder

@@ -608,9 +608,6 @@ fromSource() {
 
     echo "Building from source is under development"
 
-    debug "kopts: ${P_ARR[kopts]}"
-    debug "pkgs: ${P_ARR[packages]}"
-
     # Update source code
     if [[ ! -d "$GITSRCDIR" ]]; then
         mkdir -p "$GITSRCDIR"
@@ -643,10 +640,7 @@ fromSource() {
     fi
 
     # Add custom packages
-    debug HERE0
-
     for pkg in ${P_ARR[packages]}; do
-        debug HERE1
         if [[ $pkg == -* ]]; then
             debug "Removing package ${pkg#-}"
             config_opts+=("CONFIG_PACKAGE_${pkg#-}=n") # remove package
@@ -658,7 +652,6 @@ fromSource() {
 
     # Add kopts from profile
     for kopt in ${P_ARR[kopts]}; do
-        debug HERE2
         config_opts+=("$kopt")
     done
 
@@ -678,7 +671,7 @@ fromSource() {
     done
 
     # normalize .config and remove dupes
-    # make defconfig # TODO
+    make defconfig # TODO
 
     # TODO for now symlink clang for qosify
     [[ -d "$GITSRCDIR/staging_dir/host/llvm-bpf/bin" ]] || mkdir -p "$GITSRCDIR/staging_dir/host/llvm-bpf/bin"