Skip to content
Snippets Groups Projects
  1. Jul 19, 2024
  2. Nov 11, 2023
  3. Oct 25, 2023
  4. Oct 10, 2022
  5. Sep 02, 2022
    • Simon Glass's avatar
      Makefile: Allow LTO to be disabled for a build · a55014d0
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      LTO (Link-Time Optimisation) is an very useful feature which can
      significantly reduce the size of U-Boot binaries. So far it has been
      made available for selected ARM boards and sandbox.
      
      However, incremental builds are much slower when LTO is used. For example,
      an incremental build of sandbox takes 2.1 seconds on my machine, but 6.7
      seconds with LTO enabled.
      
      Add a NO_LTO parameter to the build, similar to NO_SDL, so it can be
      disabled during development if needed, for faster builds.
      
      Add some documentation about LTO while we are here.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      a55014d0
  6. Jul 18, 2022
  7. May 28, 2022
  8. Mar 12, 2022
  9. Jan 19, 2022
  10. Jan 15, 2022
  11. Oct 21, 2021
  12. Oct 19, 2021
    • Simon Glass's avatar
      Makefile: Only build dtc if needed · 93b19653
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      At present U-Boot always builds dtc if CONFIG_OF_CONTROL is defined, even
      when DTC is provided. The built dtc is not actually used, so this is a
      waste of time.
      
      Update the Makefile logic to build dtc only if one is not provided to the
      build with the DTC variable. Add documentation to explain this.
      
      This saves about 3.5 seconds of elapsed time on a clean build of
      sandbox_spl for me.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      93b19653
  13. Aug 14, 2021
  14. Aug 01, 2021
  15. Jul 28, 2021
  16. Dec 15, 2020
  17. Sep 22, 2020
  18. Sep 12, 2020
Loading