1. 29 Nov, 2018 1 commit
    • Karl Vogel's avatar
      sdk: find kernel modules when KDIR is a symlink · ae980458
      Karl Vogel authored
      
      
      The find statement would not return any results if the KDIR_BASE pointed to a
      symlink. Ran into this issue due to a custom Kernel/Prepare that was installing
      a symlink to the kernel directory.
      
      The extra slash at the end fixes this scenario and does no harm for targets that
      have a proper KDIR.
      Signed-off-by: default avatarKarl Vogel <karl.vogel@gmail.com>
      ae980458
  2. 03 Aug, 2018 1 commit
  3. 01 Aug, 2018 1 commit
  4. 11 Jan, 2018 1 commit
  5. 04 Jan, 2018 1 commit
  6. 05 Dec, 2017 1 commit
  7. 26 Feb, 2017 1 commit
  8. 19 Feb, 2017 1 commit
  9. 13 Feb, 2017 1 commit
  10. 08 Feb, 2017 1 commit
  11. 24 Jan, 2017 1 commit
  12. 20 Jan, 2017 1 commit
  13. 19 Jan, 2017 1 commit
  14. 18 Jan, 2017 1 commit
    • Jo-Philipp Wich's avatar
      sdk: do not strip static libraries · a68b1b9c
      Jo-Philipp Wich authored
      
      
      Do not strip static libraries shipped with the SDK in order to preserve the
      archive index. If we strip the index of the shipped libraries, host programs
      will fail to link these libraries with errors like:
      
          libssl.a: error adding symbols: Archive has no index; run ranlib to add one
      
      The error was found while investigating a Python host build failure within
      the SDK environment.
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      a68b1b9c
  15. 13 Jan, 2017 1 commit
  16. 10 Jan, 2017 1 commit
    • 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
  17. 30 Nov, 2016 1 commit
  18. 04 Nov, 2016 1 commit
  19. 21 Oct, 2016 1 commit
  20. 29 Sep, 2016 1 commit
  21. 01 Aug, 2016 1 commit
  22. 01 Jun, 2016 2 commits
  23. 24 May, 2016 1 commit
    • Jo-Philipp Wich's avatar
      sdk: stop shipping a .config · 9eeb267c
      Jo-Philipp Wich authored
      
      
      Now that the most important options are exposed via menuconfig in the SDK we
      can stop shipping a (possibly outdated) copy of .config from the emitting
      buildroot.
      
      Leaving out .config has two positive side effects:
      
       - A simple "make" run without any prior config will launch menuconfig, forcing
         interactive users to make appropriate choices
      
       - Buildbot systems (e.g. our phase2 builder) can issue a "make defconfig" to
         obtain a .config enabling all packages by default
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      9eeb267c
  24. 21 Apr, 2016 1 commit
  25. 18 Apr, 2016 1 commit
  26. 17 Apr, 2016 1 commit
  27. 12 Jan, 2016 1 commit
  28. 11 Jan, 2016 1 commit
  29. 08 Jan, 2016 2 commits
  30. 03 Jan, 2016 2 commits
  31. 08 Feb, 2015 1 commit
  32. 07 Feb, 2015 1 commit
  33. 08 Jan, 2015 1 commit
  34. 11 Dec, 2014 1 commit
  35. 16 Oct, 2014 1 commit
  36. 17 Sep, 2014 1 commit
    • Jo-Philipp Wich's avatar
      sdk: predefine kernel version magic · 057e5182
      Jo-Philipp Wich authored
      
      
      Kernel modules which are built using the SDK do not have access
      to the .vermagic file in the Linux build dir, therefore the
      generated .ipk metadata depends on kernel versions like
      '3.10.49-1-unknown' which are not satisfiable by the kernel
      meta package in the image.
      
      Fix this problem by substituting 'unknown' with the current
      version magic in include/kernel.mk when packing the SDK.
      Signed-off-by: default avatarJo-Philipp Wich <jow@openwrt.org>
      
      SVN-Revision: 42590
      057e5182
  37. 01 Sep, 2014 1 commit