Skip to content
Snippets Groups Projects
  1. 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 limited
      the compile time difference will be larger.
      
      Only problem I've seen so far is that it doesn't play well with older
      versions of ccache (apparently fixed, see
      https://bugzilla.samba.org/show_bug.cgi?id=10005
      
      )
      
      v2: various fixes from Dirk Gouders. Improve commit message slightly.
      v3: Fix clean rules and improve Kconfig slightly
      v4: Fix merge error in last version (Sam Ravnborg)
          Clarify description that it mainly helps disk size.
      Cc: Dirk Gouders <dirk@gouders.net>
      Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
      Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      866ced95
  2. Apr 16, 2014
  3. Feb 11, 2014
  4. Jul 31, 2013
  5. Dec 18, 2012
  6. Oct 19, 2012
  7. Oct 10, 2012
  8. Jul 01, 2011
  9. 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-by: default avatarGuan Xuetao <guanxuetao@mprc.pku.edu.cn>
      Tested-by: default avatarGuan Xuetao <guanxuetao@mprc.pku.edu.cn>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Remis Lima Baima <remis.developer@googlemail.com>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      d8ecc5cd
  10. Feb 22, 2011
  11. Mar 23, 2010
  12. Mar 13, 2010
  13. Mar 06, 2010
  14. Jan 11, 2010
  15. Dec 12, 2009
  16. Nov 30, 2009
  17. Jun 26, 2009
  18. Jun 14, 2009
  19. Jun 12, 2009
  20. Jun 09, 2009
  21. 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
  22. Jun 29, 2008
  23. Jun 18, 2008
  24. May 25, 2008
  25. May 11, 2008
    • S.Çağlar Onur's avatar
      Remove *.rej pattern from .gitignore · 1f5d3a6b
      S.Çağlar Onur authored
      
      With commit 3f1b0e1f ".gitignore update"
      Linus's current git tree starts to ignore any "*.rej" files.
      So "git status" no longer shows these files, but the ones who works with
      quilt patchsets, this not makes life easier as expected.
      Because sometimes a work flow (at least for me) requires
      "quilt push -f" followed by "git status" to see unresolved merge
      conflicts, work on these conflicts to correct them and finalize
      the patch with "quilt refresh".
      
      And if there are some "*.rej" files exists in tree, for whatever
      reason, this means something goes really wrong there and i think
      this situation not deserves to be ignored.
      
      Signed-off-by: default avatarS.Çağlar Onur <caglar@pardus.org.tr>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      1f5d3a6b
  26. May 01, 2008
  27. Apr 25, 2008
  28. Mar 05, 2008
  29. Jan 28, 2008
  30. Oct 19, 2007
  31. Oct 17, 2007
  32. Jul 31, 2007
  33. Jul 20, 2007
Loading