Skip to content
Snippets Groups Projects
  1. Jan 05, 2017
  2. Dec 22, 2016
  3. Dec 17, 2016
    • Felix Fietkau's avatar
      build: implement make check and make package/X/check · 7a315b0b
      Felix Fietkau authored
      
      This is intended to be used for a wide array of package sanity checks.
      
      The first check that is implemented is for the hash of downloaded files.
      It checks:
        - Missing hash
        - Use of SHA256 instead of MD5
        - dl/<file> hash not matching hash in makefile
        - deprecated MD5SUM variable
      
      The deprecated MD5SUM variable check is skipped for feeds/ until OpenWrt
      is updated as well
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      7a315b0b
  4. Nov 01, 2016
  5. Aug 01, 2016
    • Jo-Philipp Wich's avatar
      build: add checksum target · 27854a0a
      Jo-Philipp Wich authored
      
      Add a new "checksum" make target which generates an sha256sums file over the
      image files produced in bin/targets/ and automatically call it during make
      world after the package index generation.
      
      The advantage of this new target is that it is guaranteed to run after the
      images, the SDK and the ImageBuilder archives have been generated to ensure
      that they all end up in the checksum file. Fixes FS#51.
      
      Uses sed to postprocess the OpenSSL digest output into an sha256sum command
      compatible format.
      
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      27854a0a
  6. Apr 06, 2016
    • Jo-Philipp Wich's avatar
      rules.mk: introduce new variable OUTPUT_DIR · 54fbe8af
      Jo-Philipp Wich authored
      
      Introduce a new variable OUTPUT_DIR which refers to the parent bin/ directory
      without the architecture specific component.
      
      Also construct the BIN_DIR variable based on OUTPUT_DIR now and add both target
      and subtarget components to it to prevent different subtargets from
      overwriting each others files in bin/.
      
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      54fbe8af
  7. Feb 13, 2016
  8. Feb 08, 2016
  9. Jan 28, 2016
  10. Jan 25, 2016
  11. Jan 20, 2016
  12. Jan 03, 2016
  13. Nov 10, 2015
  14. Nov 07, 2015
  15. Oct 30, 2015
    • Felix Fietkau's avatar
      build: Allow kernel modules to set build ID debug symbol · 3bbb9277
      Felix Fietkau authored
      
      This change adds support for specifying a build ID for kernel modules.
      This is done by setting PKG_BUILD_ID to a hexadecimal string, which will
      then be passed to the kernel linker. In addition, when this flag is set,
      the build ID debug symbol (.note.gnu.build-id) will not be stripped from
      the kernel module. This symbol is exported in sysfs by the kernel (if
      the kernel is compiled with CONFIG_KALLSYMS) and so can be used to
      uniquely identify a version of a kernel module in a running kernel. This
      is useful for keeping track of different versions of a module when doing
      experiments and development.
      
      Modules that specify the build ID will be ~100 bytes larger (depending
      on the length of the build ID specified). There is no size difference
      for kernel modules that do not set this variable.
      
      Signed-off-by: default avatarToke Høiland-Jørgensen <toke@toke.dk>
      
      SVN-Revision: 47290
      3bbb9277
  16. Aug 25, 2015
  17. Jun 29, 2015
  18. Jun 23, 2015
  19. Jun 15, 2015
  20. Apr 06, 2015
  21. Mar 15, 2015
  22. Feb 10, 2015
  23. Feb 06, 2015
  24. Feb 05, 2015
  25. Jan 10, 2015
  26. Dec 27, 2014
    • Felix Fietkau's avatar
      build: use gcc-provided ar, nm and ranlib where appropriate · 9a467998
      Felix Fietkau authored
      
      Since GCC 4.7, GCC provides its own wrappers around ar, nm and ranlib, which
      should be used for builds with link-time optimization. Since GCC 4.9, using them
      actually necessary for LTO builds using convenience libraries to succeed.
      
      There are some packages which try to automatically detect if gcc-{ar,nm,ranlib}
      exist (one example is my package "fastd" in the package repository, which tries
      to use LTO). This breaks because the OpenWrt build system explicitly sets the
      binutils versions of these tools.
      
      As it doesn't cause any issues to use gcc-{ar,nm,ranlib} instead of
      {ar,nm,ranlib} even without LTO, this patch just makes OpenWrt use the
      GCC-provided versions by default, which fixes the build of such packages with
      GCC 4.9.
      
      (I know that builds fail though when clang is used with -flto and
      gcc-{ar,nm,ranlib}, but as all OpenWrt toolchains are based on GCC, this isn't
      a real issue.)
      
      Completely cleaning the tree (or at least `make clean toolchain/clean`) is
      necessary to get a consistent state after the binutils plugins support patch and
      this one (as trying to use gcc-{ar,nm,ranlib} with a binutils built without
      plugin support will definitely lead to a build failure).
      
      Signed-off-by: default avatarMatthias Schiffer <mschiffer@universe-factory.net>
      
      SVN-Revision: 43784
      9a467998
  27. Oct 22, 2014
  28. Oct 20, 2014
  29. Aug 26, 2014
  30. Mar 22, 2014
  31. Mar 21, 2014
  32. Mar 10, 2014
Loading