1. 13 Mar, 2012 1 commit
  2. 16 Sep, 2011 1 commit
  3. 08 Jan, 2010 1 commit
    • Paolo Bonzini's avatar
      Use vpath directive · 076d2471
      Paolo Bonzini authored
      The vpath directive has two advantages over the VPATH variable:
      1) it allows to skip searching of .o files; 2) the default semantics
      are to append to the vpath, so there is no confusion between "VPATH=xyz"
      and "VPATH+=xyz".
      Since "vpath %.c %.h PATH" is not valid, I'm introducing a wrapper
      macro to append one or more directories to the vpath.
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
  4. 07 Jan, 2010 1 commit
    • Andreas Färber's avatar
      Drop --whole-archive and static libraries · 0e8c9214
      Andreas Färber authored
      Juan has contributed a cool Makefile infrastructure that enables us to drop
      static libraries completely:
      Move shared obj-y definitions to Makefile.objs, prefixed {common-,hw-,user-},
      and link those object files directly into the executables.
      Replace HWLIB by HWDIR, specifying only the directory.
      Drop --whole-archive and ARLIBS in Makefiles and configure.
      Drop GENERATED_HEADERS dependency in rules.mak, since this rebuilds all
      common objects after generating a target-specific header; add dependency
      rules to Makefile and Makefile.target instead.
      - Don't try to include /config.mak for user emulators
      - Changes to user object paths ("Quickfix for libuser.a drop") were obsoleted
        by "user_only: compile everything with -fpie" (Kirill A. Shutemov)
      - Fix dependency modelling for tools
      - Remove comment on GENERATED_HEADERS obsoleted by this patch
      Signed-off-by: default avatarAndreas Färber <afaerber@opensolaris.org>
      Cc: Blue Swirl <blauwirbel@gmail.com>
      Cc: Palle Lyckegaard <palle@lyckegaard.dk>
      Cc: Ben Taylor <bentaylor.solx86@gmail.com>
      Cc: Juan Quintela <quintela@trasno.org>
      Cc: Kirill A. Shutemov <kirill@shutemov.name>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
  5. 19 Dec, 2009 2 commits
  6. 27 Sep, 2009 1 commit