Skip to content
Snippets Groups Projects
  1. Jan 15, 2023
  2. Aug 23, 2022
    • Matthias Schiffer's avatar
      scripts: target_config_lib: prepend target default package list from openwrt/tmp/.targetinfo · d20f8d41
      Matthias Schiffer authored
      Device-specific package additions could generate `CONFIG_PACKAGE_...=m`
      lines, which would override `CONFIG_PACKAGE_...=y` lines inserted by
      OpenWrt for default packages (as Gluon did not know about these default
      packages). This resulted in the unintended removal of such packages from
      other devices that did not contain the same package in their device
      package lists.
      
      Avoid this issue by explicitly adding OpenWrt's target default package
      list to the front of Gluon's target package list.
      Unverified
      d20f8d41
  3. Dec 31, 2021
  4. Dec 21, 2021
    • Martin Weinelt's avatar
      Add helper to run a containerized build environment (#2292) · 6728c4a1
      Martin Weinelt authored
      Using `make container` or, if you don't have automake/gmake on your host
      system, `./scripts/container.sh` will build an image for the current
      branch your are on and drop you into a shell running inside a container
      using that image.
      
      From there all tooling required to work on Gluon is available.
      
      Supports both podman (preferred) and docker.
      Unverified
      6728c4a1
  5. Dec 15, 2021
  6. Oct 05, 2021
  7. Sep 19, 2021
  8. Aug 14, 2021
  9. Aug 10, 2021
  10. Oct 10, 2020
  11. Aug 15, 2020
  12. Jun 04, 2020
    • Chrissi^ (Chris Fiege)'s avatar
      openwrt: Store Kernel Debug-Info (#1971) · 1956696d
      Chrissi^ (Chris Fiege) authored
      
      This change stores a Kernel with Debug-Symbols for the current
      architecture in a new output directory '<outputdir>/debug'.
      This allows a developer or operator of a network to store the kernel
      along with the actual images. In case of a kernel oops the debug
      information can be used with the script
      'scripts/decode_stacktrace.sh' in the kernel source tree to get the
      names to the symbols of the stack trace.
      
      OpenWRT already provides the CONFIG_COLLECT_KERNEL_DEBUG -option that
      creates a kernel with debug-symbols in the OpenWRT output directory.
      This change enables this option and copies the generated kernel to the
      gluon output directory.
      
      Signed-off-by: default avatarChrissi^ <chris@tinyhost.de>
      Unverified
      1956696d
  13. May 13, 2020
  14. May 12, 2020
  15. May 11, 2020
  16. May 03, 2020
    • Matthias Schiffer's avatar
      build: move package list generation to target_config_lib.lua, fix precedence · 53690d83
      Matthias Schiffer authored
      The precedence of different package lists was broken since #1876,
      disallowing removal of GLUON_FEATURES packages via GLUON_SITE_PACKAGES.
      
      Including all package selections, both implicit defaults and explicit
      handling in Gluon, the order of precedence is now the following:
      
      1.  OpenWrt defaults (including target-specific defaults)
      2.  Device-specific packages from OpenWrt
      3.  Generic default packages (from target/generic)
      4.  Target default packages (target/$(GLUON_TARGET))
      5.  Removal of opkg for tiny targets
      6.  Packages derived from GLUON_FEATURES + GLUON_FEATURES_$(class)
      7.  GLUON_SITE_PACKAGES
      8.  GLUON_SITE_PACKAGES_$(class)
      9.  Device-specific packages from target/$(GLUON_TARGET)
      10. Device-specific packages from GLUON_$(device)_SITE_PACKAGES
      
      This also contains various pieces of cleanup:
      
      - No hardcoded order of device classes for target_config.lua arguments
        anymore (in fact, the Makefile doesn't know anything about device
        classes now)
      - target_conifg_lib.lua only hardcodes the fallback class for x86, no
        other occurences of specific class names
      - Feature -> package list mapping is moved from Makefile to the Lua code
        as well (still implemented in Shell though)
      Unverified
      53690d83
  17. Apr 09, 2020
  18. Mar 25, 2020
  19. Dec 29, 2019
  20. Nov 07, 2019
  21. Jun 15, 2019
    • Matthias Schiffer's avatar
      Add GLUON_DEPRECATED flag · 912490c0
      Matthias Schiffer authored
      This new build flag is mandatory for now (it may default to 0 in a future
      Gluon version). It may be set to the following values:
      
      * 0 - Do not build any images for deprecated devices.
      * upgrade - Only build sysupgrade images for deprecated devices.
      * full - Build both sysupgrade and factory images for deprecated devices.
      
      "Other" images are handled like factory images, as they are also used for
      the initial installation of Gluon on a device.
      Unverified
      912490c0
    • Matthias Schiffer's avatar
      Switch to Lua for target definitions · 071cf7b2
      Matthias Schiffer authored
      The old bash-based parsing code was way too complex. Replace it with Lua.
      Unverified
      071cf7b2
  22. Apr 22, 2019
  23. Apr 19, 2019
  24. Apr 11, 2019
  25. Jul 10, 2018
  26. Jan 26, 2018
  27. Jan 19, 2018
  28. Jan 10, 2018
  29. Dec 25, 2017
    • edeso's avatar
      build: allow passing relative paths · ab16cea1
      edeso authored
      Allow using relative paths for GLUON_SITEDIR, GLUON_OUTPUTDIR, ...
      
      We also check for whitespace in paths now, as build will not work properly
      with whitespace anyways, and Make's abspath would require escaping
      otherwise.
      
      [Matthias Schiffer: minor changes, rewrite commit message]
      Unverified
      ab16cea1
Loading