Skip to content
Snippets Groups Projects
Select Git revision
  • experimental default protected
  • nrb/airmax-test
  • v2023.2.4-ffs
  • nrb/ar9344-reset-sequence
  • autinerd/experimental-openwrt-24.10
  • v2023.2.3-ffs
  • v2023.2.2-ffs
  • v2023.2-ffs
  • v2023.1-ffs
  • v2022.1.4-ffs
  • feature/addMikrotikwAP
  • v2022.1.3-ffs
  • v2021.1.2-ffs
  • v2022.1.1-ffs
  • master protected
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • v2020.2.3-ffs
  • nrbffs/fastd-remove-delay
  • experimental-2025-05-27
  • experimental-2025-05-27-base
  • experimental-2025-05-18
  • experimental-2025-05-18-base
  • experimental-2025-05-15
  • experimental-2025-05-15-base
  • experimental-2025-05-13
  • experimental-2025-05-13-base
  • experimental-2025-05-08
  • experimental-2025-05-08-base
  • experimental-2025-05-05
  • experimental-2025-05-05-base
  • experimental-2025-05-02
  • experimental-2025-05-02-base
  • experimental-2025-05-01
  • experimental-2025-05-01-base
  • experimental-2025-04-29
  • experimental-2025-04-29-base
  • experimental-2025-04-27
  • experimental-2025-04-27-base
40 results

Makefile

Blame
    • Matthias Schiffer's avatar
      d09cda05
      build: extend GLUON_DEBUG with values 0, 1 and 2 · d09cda05
      Matthias Schiffer authored
      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
      build: extend GLUON_DEBUG with values 0, 1 and 2
      Matthias Schiffer authored
      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