Skip to content
  1. Aug 23, 2017
  2. Aug 11, 2017
  3. Aug 02, 2017
  4. Aug 01, 2017
  5. Jul 27, 2017
  6. Jul 05, 2017
  7. Jul 04, 2017
  8. Jun 02, 2017
  9. May 31, 2017
  10. May 30, 2017
  11. May 17, 2017
  12. May 08, 2017
  13. May 02, 2017
  14. Apr 05, 2017
  15. Mar 10, 2017
  16. Feb 28, 2017
  17. Feb 26, 2017
  18. Feb 20, 2017
  19. Feb 11, 2017
  20. Jan 25, 2017
  21. Dec 29, 2016
  22. Nov 30, 2016
  23. Nov 29, 2016
  24. Nov 28, 2016
  25. Nov 13, 2016
  26. Nov 03, 2016
  27. Oct 22, 2016
    • Samuel Martin's avatar
      toochainfile.cmake: rework the way Buildroot sets flags · 10a6756f
      Samuel Martin authored
      From the build configuration, Buildroot defines and set some compiler
      and linker flags that should be passed to any packages build-system.
      
      For package using the cmake-package infrastructure, this is achieved
      via the toolchainfile.cmake.
      
      This change simplifies the way the toolchainfile.cmake file handles
      these flags: it now just sets them, without any attempt to extend them
      with those Buildroot defined.
      
      This change still allows overriding these flags from the configure
      command line.
      
      So, now, when a CMake-based package needs to extend them, they should
      be fully set from the package *.mk file. This behavior is consistent
      with what is done for others package infrastructures.
      
      This change should not pull any regression WRT the bug #7280 [1].
      
      However, now, when someone uses the toolchainfile.cmake file outside of
      Buildroot, he/she must overload all compiler/linker flags (including the
      ones Buildroot sets since they no longer get automatically added).
      
      [1] https://bugs.busybox.net/show_bug.cgi?id=7280
      
      
      
      Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
      Cc: Max Filippov <jcmvbkbc@gmail.com>
      Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: default avatarSamuel Martin <s.martin49@gmail.com>
      Reviewed-by: default avatarArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      10a6756f
Loading