1. 12 Aug, 2014 4 commits
  2. 27 Jun, 2014 1 commit
  3. 23 May, 2014 1 commit
    • 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
  4. 27 Apr, 2014 2 commits
  5. 15 Mar, 2014 1 commit
  6. 20 Feb, 2014 1 commit
    • 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
  7. 19 Feb, 2014 1 commit
  8. 15 Feb, 2014 1 commit
    • 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
  9. 02 Dec, 2013 1 commit
  10. 26 Oct, 2013 1 commit
  11. 09 Sep, 2013 1 commit
  12. 20 Aug, 2013 2 commits
  13. 11 Jun, 2013 1 commit
    • 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
  14. 26 Apr, 2013 1 commit
  15. 28 Mar, 2013 2 commits
  16. 22 Mar, 2013 1 commit
  17. 21 Feb, 2013 1 commit
  18. 15 Jan, 2013 1 commit
  19. 08 Jan, 2013 1 commit
  20. 23 Dec, 2012 1 commit
  21. 19 Dec, 2012 1 commit
  22. 18 Dec, 2012 1 commit
  23. 05 Oct, 2012 1 commit
  24. 04 Oct, 2012 1 commit
  25. 07 Jul, 2012 1 commit
    • 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
  26. 19 Mar, 2012 1 commit
  27. 21 Feb, 2012 1 commit
  28. 18 Feb, 2012 1 commit
  29. 20 Jan, 2012 1 commit
  30. 01 Nov, 2011 1 commit
  31. 30 Oct, 2011 1 commit
  32. 02 Aug, 2011 1 commit
  33. 23 Jul, 2011 1 commit
  34. 16 Apr, 2011 1 commit