Skip to content
Snippets Groups Projects
  1. May 02, 2017
  2. Apr 23, 2017
  3. Apr 04, 2017
  4. Mar 20, 2017
  5. Feb 21, 2017
    • Michal Sojka's avatar
      scripts/feeds: Reuse TOPDIR if defined in environment · b1f102b0
      Michal Sojka authored
      
      The feeds script sets value of TOPDIR in a way that is inconsistent
      with how toplevel Makefile sets it. The inconsistency manifests when I
      use a "build directory" with symlinks to LEDE source (see below).
      
      When make is invoked in such a directory, make's TOPDIR variable is
      set to that directory, whereas scripts/feeds sets TOPDIR to the top of
      LEDE source, which results in creating feeds directory inside the LEDE
      source instead of in the build directory.
      
      This patch changes the script so that it reuses the TOPDIR value form
      the environment if it exists. The result is that 'make
      package/symlinks' correctly fetches feeds to the build directory
      instead in the source.
      
      I use the following commands to create the build directory:
      
          ln -s $SRC/config config
          ln -s $SRC/Config.in Config.in
          ln -s $SRC/feeds.conf.default feeds.conf.default
          ln -s $SRC/include include
          ln -s $SRC/Makefile Makefile
          mkdir package
          ln -s $SRC/package/base-files package/base-files
          ln -s $SRC/package/boot package/boot
          ln -s $SRC/package/devel package/devel
          ln -s $SRC/package/firmware package/firmware
          ln -s $SRC/package/kernel package/kernel
          ln -s $SRC/package/libs package/libs
          ln -s $SRC/package/Makefile package/Makefile
          ln -s $SRC/package/network package/network
          ln -s $SRC/package/system package/system
          ln -s $SRC/package/utils package/utils
          ln -s $SRC/rules.mk rules.mk
          ln -s $SRC/scripts scripts
          ln -s $SRC/target target
          ln -s $SRC/toolchain toolchain
          ln -s $SRC/tools tools
      
      This allows me to easily test changes in LEDE on multiple targets.
      
      Signed-off-by: default avatarMichal Sojka <sojkam1@fel.cvut.cz>
      b1f102b0
  6. Feb 19, 2017
  7. Feb 15, 2017
  8. Feb 14, 2017
  9. Feb 07, 2017
  10. Feb 01, 2017
  11. Jan 31, 2017
  12. Jan 11, 2017
  13. Jan 10, 2017
    • Jo-Philipp Wich's avatar
      build: rework library bundling · 72d751cb
      Jo-Philipp Wich authored
      
      Rework the bundle-libraries.sh implementation to use a more robust approach
      for executing host binaries through the shipped ELF loader and libraries.
      
      The previous approach relied on symlinks pointing to a wrapper script which
      caused various issues, especially with multicall binaries as the original
      argv[0] name was not preserved through the ld.so invocation. Another down-
      side was the fact that the actual binaries got moved into another directory
      which caused executables to fail looking up resources with paths relative
      to the executable location.
      
      The new library wrapper implements the following improvements:
      
       - Instead of symlinks pointing to a common wrapper, each ELF executable
         is now replaced by a unqiue shell script which retains the original
         program name getting called
      
       - Instead of letting ld.so invoke the ELF executable directly, launch
         the final ELF binary through a helper program which fixes up the argv[0]
         argument for the target program
      
       - Support sharing a common location for the bundled libraries instead of
         having one copy in each directory containing wrapped binaries
      
      Finally modify the SDK build to wrap the staging_dir and toolchain binaries
      which allows to use the SDK on systems with a different glibc version.
      
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      72d751cb
  14. Jan 05, 2017
  15. Jan 03, 2017
    • Brian J. Murrell's avatar
      download.pl: use curl in preference to wget · fc6b6f45
      Brian J. Murrell authored
      
      Because wget doesn't know how to do Negotiate authentication with a proxy
      and curl does, use curl if it's present. The user is expected to have a
      ~/.curlrc that sets the options necessary for any proxy authentication.
      
      A ~/.curlrc is completely optional however and curl will work in exactly
      the same manner as wget without one.
      
      Signed-off-by: default avatarBrian J. Murrell <brian@interlinx.bc.ca>
      [Jo-Philipp Wich: Rework code to detect curl usability by checking --version,
                        Use vararg style open() to bypass the shell when downloading,
                        Use Text::ParseWords to decompose env vars into arguments]
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      fc6b6f45
  16. Dec 26, 2016
  17. Dec 17, 2016
  18. Dec 16, 2016
  19. Dec 14, 2016
  20. Dec 02, 2016
    • Jo-Philipp Wich's avatar
      scripts: getver.sh: append Git short hash to revision · a642a11f
      Jo-Philipp Wich authored
      
      Change getver.sh to append a short Git commit hash to the end of the artifical
      revision number. This way we still have order- and comparable commit numbers
      but also a direct relation to the Git commit.
      
      The new output format will look like "r2400+2-882472e" for dirty trees or like
      "r2402-882472e" for clean ones.
      
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      a642a11f
  21. Nov 30, 2016
  22. Nov 21, 2016
  23. Nov 08, 2016
  24. Nov 03, 2016
  25. Nov 02, 2016
    • Jo-Philipp Wich's avatar
      scripts/package-metadata.pl: honour DEFAULT_VARIANT · 12d15fa8
      Jo-Philipp Wich authored
      
      So far, package-metadata.pl always considered the first provider of a virtual
      package to be the default variant which might deviate from what buildroot
      considers to be the default.
      
      Change the Kconfig dependency / select code generation for virtual package
      providers to consider the DEFAULT_VARIANT to be the primary provider and only
      fall back to the first provider if no default variant was explicitely tagged.
      
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      12d15fa8
    • Jo-Philipp Wich's avatar
      scripts/package-metadata.pl: fix handling of virtual (PROVIDES) depends · f64360c7
      Jo-Philipp Wich authored
      
      Currently the code emitting dependencies for provide candidates is overwriting
      the specification calculated by the previous conditional dependency handling
      code, rendering dependencies on virtual PROVIDES packages in conjunction with
      conditional dependencies unusable.
      
      Instead of overwriting, append the PROVIDES dependency spec in order to fix
      using DEPENDS on virtual provider packages in conjunction with conditions.
      
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      f64360c7
  26. Oct 15, 2016
  27. Oct 06, 2016
  28. Sep 24, 2016
  29. Sep 23, 2016
Loading