Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: extend GLUON_DEBUG with values 0, 1 and 2 #3295

Merged
merged 2 commits into from
Jun 27, 2024

Commits on Jun 27, 2024

  1. build: extend GLUON_DEBUG with values 0, 1 and 2

    Debugging binaries in images that are built with sstrip is extremely
    annoying, as not even objdump will work on them.
    
    Switching from sstrip to standard strip increases the ath79 image size
    (for some usual Archer C7 v2 configuration I used for testing) by ~70KiB,
    or 1.3% of the rootfs size (~1% of the total image size), which is
    rarely worth the decreased debuggability.
    
    Extend GLUON_DEBUG to not only distinguish 0 and 1, such that:
    
    - 0 uses sstrip same as before
    - 1 switches to regular strip; this is the new default
    - 2 includes all debug info, like GLUON_DEBUG=1 did before
    neocturne committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    d09cda0 View commit details
    Browse the repository at this point in the history
  2. docs: user/getting_started: fix monospace markup

    Unlike Markdown, RST uses double backticks for monospace text; single
    backticks result in italic text. Use monospace for commands like the
    surrounding paragraphs.
    neocturne committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    0f0cbaa View commit details
    Browse the repository at this point in the history