Skip to content
Snippets Groups Projects
  1. Jul 21, 2014
  2. Jul 13, 2014
  3. Jul 06, 2014
  4. Jul 04, 2014
    • Michal Marek's avatar
      kbuild: Fix packaging targets with relative $(srctree) · c79624c1
      Michal Marek authored
      
      All other users of Makefile.build set $(obj) to the name of the
      subdirectory to build. Do the same for the packaging targets, otherwise
      the build fails if $(srctree) is a relative directory:
      
          $ make O=build tar-pkg
          make[1]: Entering directory `/home/mmarek/linux-2.6/build'
            CHK     include/config/kernel.release
          ../scripts/Makefile.build:44: ../../scripts/package/Makefile: No such file or directory
          make[2]: *** No rule to make target `../../scripts/package/Makefile'.  Stop.
      
      Fixes: 9da0763b ("kbuild: Use relative path when building in a subdir of the source tree")
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      c79624c1
    • Michal Marek's avatar
      kbuild: Do not print the build directory with make -s · 066b7ed9
      Michal Marek authored
      
      Commit c2e28dc9 (kbuild: Print the name of the build directory) prints
      the name of the build directory for O= builds, but we should not be
      doing this in make -s mode, so that commands like
      
        make -s O=<dir> kernelrelease
      
      can be used by scripts. This matches the behavior of make itself, where
      the -s option implies --no-print-directory.
      
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      066b7ed9
  5. Jul 03, 2014
  6. Jun 29, 2014
  7. Jun 22, 2014
  8. Jun 16, 2014
  9. Jun 09, 2014
  10. Jun 08, 2014
  11. Jun 07, 2014
  12. Jun 02, 2014
  13. May 25, 2014
  14. May 21, 2014
  15. May 14, 2014
  16. May 09, 2014
  17. May 05, 2014
  18. Apr 30, 2014
  19. Apr 28, 2014
  20. Apr 20, 2014
  21. Apr 16, 2014
  22. Apr 13, 2014
  23. Apr 09, 2014
  24. Apr 08, 2014
    • Jason Cooper's avatar
      scripts: objdiff: detect object code changes between two commits · 79192ca8
      Jason Cooper authored
      
      objdiff is useful when doing large code cleanups.  For example, when
      removing checkpatch warnings and errors from new drivers in the staging
      tree.
      
      objdiff can be used in conjunction with a git rebase to confirm that
      each commit made no changes to the resulting object code.  It has the
      same return values as diff(1).
      
      This was written specifically to support adding the skein and threefish
      cryto drivers to the staging tree.  I needed a programmatic way to
      confirm that commits changing >90% of the lines didn't inadvertently
      change the code.
      
      Temporary files (objdump output) are stored in
      
        /path/to/linux/.tmp_objdiff
      
      'make mrproper' will remove this directory.
      
      Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      79192ca8
  25. Mar 31, 2014
  26. Mar 29, 2014
    • Paul Gortmaker's avatar
      kbuild: unconditionally clobber include/linux/version.h on distclean · 9c8cdb71
      Paul Gortmaker authored
      
      As of v3.7, the UAPI changes relocated headers around such that the
      kernel version header lived in a new place.
      
      If a person is bisecting and if you go back to pre-UAPI days,
      you will create an include/linux/version.h  -- then if you checkout a
      post-UAPI kernel, and even run "make distclean" it still won't delete
      that old version file.  So you get a situation like this:
      
      $ grep -R LINUX_VERSION_CODE include/
      include/generated/uapi/linux/version.h:#define LINUX_VERSION_CODE 200192
      include/linux/version.h:#define LINUX_VERSION_CODE 132646
      
      The value in that second line is representative of a v2.6.38 version.
      And it will be sourced/used, hence leading to strange behaviours, such
      as drivers/staging content (which typically hasn't been purged of version
      ifdefs) failing to build.
      
      Since it is a subtle mode of failure, lets always clobber the old
      file when doing a distclean.
      
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Acked-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      9c8cdb71
  27. Mar 25, 2014
  28. Mar 17, 2014
  29. Mar 10, 2014
  30. Mar 03, 2014
  31. Feb 25, 2014
Loading