Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
  1. Aug 28, 2015
  2. Jun 15, 2015
  3. Apr 17, 2015
  4. Feb 17, 2015
  5. Feb 12, 2015
  6. Nov 27, 2014
  7. Nov 25, 2014
  8. Oct 26, 2014
  9. Jul 30, 2014
    • Andi Kleen's avatar
      kbuild: Support split debug info v4 · 866ced95
      Andi Kleen authored
      This is an alternative approach to lower the overhead of debug info
      (as we discussed a few days ago)
      
      gcc 4.7+ and newer binutils have a new "split debug info" debug info
      model where the debug info is only written once into central ".dwo" files.
      
      This avoids having to copy it around multiple times, from the object
      files to the final executable. It lowers the disk space
      requirements. In addition it defaults to compressed debug data.
      
      More details here: http://gcc.gnu.org/wiki/DebugFission
      
      This patch adds a new option to enable it. It has to be an option,
      because it'll undoubtedly break everyone's debuginfo packaging scheme.
      gdb/objdump/etc. all still work, if you have new enough versions.
      
      I don't see big compile wins (maybe a second or two faster or so), but the
      object dirs with debuginfo get significantly smaller. My standard kernel
      config (slightly bigger than defconfig) shrinks from 2.9G disk space
      to 1.1G objdir (with non reduced debuginfo). I presume if you are IO...
      866ced95
  10. Apr 16, 2014
  11. Feb 10, 2014
  12. Jul 31, 2013
  13. Dec 17, 2012
  14. Oct 19, 2012
  15. Oct 10, 2012
  16. Jul 01, 2011
  17. Apr 28, 2011
    • Sam Ravnborg's avatar
      kbuild: asm-generic support · d8ecc5cd
      Sam Ravnborg authored
      There is an increasing amount of header files
      shared between individual architectures in asm-generic.
      To avoid a lot of dummy wrapper files that just
      include the corresponding file in asm-generic provide
      some basic support in kbuild for this.
      
      With the following patch an architecture can maintain
      a list of files in the file arch/$(ARCH)/include/asm/Kbuild
      
      To use a generic file just add:
      
              generic-y += <name-of-header-file.h>
      
      For each file listed kbuild will generate the necessary
      wrapper in arch/$(ARCH)/include/generated/asm.
      
      When installing userspace headers a wrapper is likewise created.
      
      The original inspiration for this came from the unicore32
      patchset - although a different method is used.
      
      The patch includes several improvements from Arnd Bergmann.
      Michael Marek contributed Makefile.asm-generic.
      
      Remis Baima did an intial implementation along to achive
      the same - see https://patchwork.kernel.org/patch/13352/
      
      
      
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Acked-...
      d8ecc5cd
  18. Feb 22, 2011
  19. Mar 23, 2010
  20. Mar 12, 2010
  21. Mar 06, 2010
  22. Jan 11, 2010
  23. Dec 12, 2009
  24. Nov 30, 2009
  25. Jun 26, 2009
  26. Jun 14, 2009
  27. Jun 12, 2009
  28. Jun 09, 2009
  29. Apr 19, 2009
    • Sam Ravnborg's avatar
      kbuild: support include/generated · f14875a3
      Sam Ravnborg authored
      
      We need a location for generated files.
      Today they are spread over several places and bringing them
      together to a common place makes it obvious hat is generated
      and what isreal files.
      
      Al Viro originally suggested: include/gen
      Linus suggested to spell it out.
      
      This patch implement support for
      
          include/generated
      
      All files in include/generated are ignored by git.
      include/generated is removed during "make mrproper".
      
      With this we are ready to implement support for include/generated
      in the various architctures and in the base kernel.
      
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Cc: Al Viro <viro@ZenIV.linux.org.uk>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      f14875a3
  30. Jun 29, 2008
  31. Jun 17, 2008
  32. May 25, 2008