From afa6ea2abcb7bfbc9a69cc48c7bfd009d3eb9906 Mon Sep 17 00:00:00 2001 From: bryan Date: Sun, 29 Jan 2023 15:52:54 -0500 Subject: [PATCH] More work on --source --- openwrtbuilder | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/openwrtbuilder b/openwrtbuilder index e7a4bc5..03792ab 100755 --- a/openwrtbuilder +++ b/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"