]> Kevux Git Server - fll/commitdiff
Update: Invert debug mode parameter in boot strap example script.
authorKevin Day <Kevin@kevux.org>
Sun, 31 May 2026 15:08:22 +0000 (10:08 -0500)
committerKevin Day <Kevin@kevux.org>
Sun, 31 May 2026 15:08:22 +0000 (10:08 -0500)
I generally want debugging when using the example boot strap script.
Make the default behavior to have debug mode enabled.

The debug parameter to the boot strap example script now disables the debug mode.

build/scripts/bootstrap-example.sh

index c8a7859..f1340a9 100644 (file)
@@ -35,7 +35,7 @@
 #
 # The -A represents building with android mode.
 #
-# The -D represents building with debug mode.
+# The -D represents building without debug mode.
 #
 # The -P represents building with pinephone mode.
 #
@@ -69,8 +69,8 @@ main() {
   local mode_compiler_value="gcc"
   local mode_custom_param=
   local mode_custom_value=
-  local mode_debug_param=
-  local mode_debug_value=
+  local mode_debug_param="-m"
+  local mode_debug_value="debug"
   local mode_part=
   local mode_parameter=
   local mode_path=
@@ -132,8 +132,8 @@ main() {
        mode_custom_param="-m"
        mode_custom_value="android"
     elif [[ ${p} == "-D" ]] ; then
-       mode_debug_param="-m"
-       mode_debug_value="debug"
+       mode_debug_param=
+       mode_debug_value=
     elif [[ ${p} == "-P" ]] ; then
        mode_custom_param="-m"
        mode_custom_value="pinephone"