Skip to content
Snippets Groups Projects
  1. Apr 04, 2015
  2. Mar 10, 2015
  3. Jan 13, 2015
  4. Aug 12, 2014
  5. Jun 27, 2014
  6. May 23, 2014
    • Peter Maydell's avatar
      configure: Put tempfiles in a subdir of the build directory · 8cd05ab6
      Peter Maydell authored
      
      When libtool support was added to configure, the new temporary files
      were left out of the list of files cleaned up on exit; this results
      in a lot of stale .lo files being left around in /tmp. Worse, libtool
      creates a /tmp/.libs directory which we can't easily clean up.
      
      Put all our temporary files in a single temporary directory created
      as a subdirectory of the build directory, so we can easily clean it up,
      and don't need fragile or complicated code for creation to avoid it
      clashing with temporary directories from other instances of QEMU
      configure or being subject to attack from adversaries who can write
      to /tmp.
      
      Since the temporaries now live in the build tree, we have no
      need to jump through hoops with a trap handler to try to remove
      them when configure exits; this fixes some weird bugs where hitting
      ^C during a configure run wouldn't actually make it stop, because
      we would run the trap handler but then not stop. (It is possible
      to get the trap handler semantics right but it is convoluted largely
      because of bugs in dash, so it is simpler to just avoid it.)
      
      Note that "temporary files go in the build directory, not /tmp" is
      the way autoconf behaves.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: default avatarEric Blake <eblake@redhat.com>
      Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
      8cd05ab6
  7. Apr 28, 2014
    • Michael Tokarev's avatar
      gitignore: cleanups #2 · 5d77c8f9
      Michael Tokarev authored
      
      A few more cleanups for .gitignore file.
      The final goal is to have only files in there which
      are generated during build.  Things like .orig or
      .gdbinit are definitely not generated during build.
      Also, anchor a few more build-time directories.
      
      Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
      5d77c8f9
  8. Apr 27, 2014
  9. Mar 15, 2014
  10. Feb 20, 2014
    • Fam Zheng's avatar
      rules.mak: introduce DSO rules · 17969268
      Fam Zheng authored
      
      Add necessary rules and flags for shared object generation.
      The new rules introduced here are:
      
      1) %.o in $(common-obj-m) is compiled to %.o, then linked to %.so.
      
      2) %.mo in $(common-obj-m) is the placeholder for %.so for pattern
      matching in Makefile. It's linked to "-shared" with all its dependencies
      (multiple *.o) as input. Which means the list of depended objects must
      be specified in each sub-Makefile.objs:
      
          foo.mo-objs := bar.o baz.o qux.o
      
      in the same style with foo.o-cflags and foo.o-libs. The objects here
      will be prefixed with "$(obj)/" if it's a subdirectory Makefile.objs.
      
      3) For all files ending up in %.so, the following is added automatically:
      
          foo.o-cflags += -fPIC -DBUILD_DSO
      
      Also introduce --enable-modules in configure, the option will enable
      support of shared object build. Otherwise objects are static linked to
      executables.
      
      Signed-off-by: default avatarFam Zheng <famz@redhat.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      17969268
  11. Feb 19, 2014
  12. Feb 15, 2014
    • Michael Tokarev's avatar
      gitignore: anchor all ignored names · 5556332a
      Michael Tokarev authored
      
      by default, patterns/names in .gitignore are applied
      recursively to all subdirectories.  So any name mentioned
      in .gitignore is ignored in all subdirectores.  This is good
      for, say. object files (*.o), but not good for particular
      names which should be ignored only in one directory.  For
      example, qemu-img.1 file is generated in the top directory,
      and it should be ignored only there, not in some subdir.
      
      At first, this might not matter much, but we have lots of
      examples already where it actually does not help at all.
      For example, top-level .gitignore ignores a file/dir named
      "patches" (which is very questionable by itself), but it
      is applied recursively, so git also ignores, for example,
      debian/patches/ which should not be ignored.
      
      So anchor all the names where appropriate.  .gitignore
      should be cleaned up further, which will be addressed in
      a subsequent patch.
      
      Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
      5556332a
  13. Dec 02, 2013
  14. Oct 26, 2013
  15. Sep 09, 2013
  16. Aug 20, 2013
  17. Jun 11, 2013
    • Michael Tokarev's avatar
      gitignore: unignore *.patch · f3a22014
      Michael Tokarev authored
      
      This partially reverts:
      
       commit 082369e6
       Author: liguang <lig.fnst@cn.fujitsu.com>
       Date:   Fri Mar 22 16:44:13 2013 +0800
      
          gitignore: ignore more files
      
      I'm not sure how this went in.  The thing is that
      ignoring *.patch, in my opinion, is just wrong.
      Especially for downstreams who apply patches for
      real.
      
      Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
      f3a22014
  18. Apr 26, 2013
  19. Mar 28, 2013
  20. Mar 22, 2013
  21. Feb 21, 2013
  22. Jan 15, 2013
  23. Jan 08, 2013
  24. Dec 23, 2012
  25. Dec 19, 2012
  26. Dec 18, 2012
  27. Oct 05, 2012
  28. Jul 07, 2012
    • Eduardo Habkost's avatar
      .gitignore update · eeae63a7
      Eduardo Habkost authored
      
      Makes sure the following files are ignored:
      
        libcacard/.libs/
        libcacard/libcacard.la
        libcacard/libcacard.pc
        libcacard/libcacard/
        libcacard/osdep.lo
        libcacard/oslib-posix.lo
        libcacard/qemu-thread-posix.lo
        libcacard/qemu-timer-common.lo
        libcacard/trace.lo
        libcacard/trace/
        tests/test-visitor-serialization
        vscclient
      
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      eeae63a7
  29. Mar 19, 2012
  30. Feb 21, 2012
  31. Feb 18, 2012
  32. Jan 21, 2012
  33. Nov 01, 2011
  34. Oct 30, 2011
Loading