From df7897c4a354a2523274d89f3764c90d6f9a0064 Mon Sep 17 00:00:00 2001 From: bryan Date: Sat, 21 Jan 2023 12:23:46 -0500 Subject: [PATCH] More debug output --- openwrtbuilder | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openwrtbuilder b/openwrtbuilder index accfff3..0c68ec7 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -584,6 +584,8 @@ fromSource() { make_opts+=("CONFIG_TARGET_DEVICE_${P_ARR[target]//\//_}_DEVICE_${P_ARR[profile]}=y") make_opts+=("CONFIG_BINARY_FOLDER=\"$THIS_BINDIR\"") + (( DEBUG )) && make_opts+=("V=s") + # Override default .config seed with profile packages # for pkg in ${P_ARR[packages]:+${P_ARR[packages]}}; do # if [[ $pkg == -* ]]; then @@ -607,6 +609,8 @@ fromSource() { # output to bindir instead of builddir # echo "CONFIG_BINARY_FOLDER=\"$THIS_BINDIR\"" >> "$SEED_FILE" + + # TODO symlink clang for qosify [[ -d "$GITSRCDIR/staging_dir/host/llvm-bpf/bin" ]] || mkdir -p "$GITSRCDIR/staging_dir/host/llvm-bpf/bin" ln -fs "$(which clang)" "$GITSRCDIR/staging_dir/host/llvm-bpf/bin/clang"