1. 03 7月, 2019 1 次提交
    • M
      Makefile: Rename targets for make recursion · 3b8593ee
      Markus Armbruster 提交于
      We make a few sub-directories recursively, in particular
      $(TARGET_DIRS).
      
      For goal "all", we do it the nice way: "all" has a prerequisite
      subdir-T for each T in $(TARGET_DIRS), and T's recipe runs make
      recursively.  Behaves nicely with -j and -k.
      
      For other goals such as "clean" and "install", the recipe runs make
      recursively in a for loop.  Ignores -j and -k.
      
      The next commit will fix that for "clean" and "install".  This commit
      prepares the ground by renaming the targets we use for "all" to
      include the goal for the sub-make.  This will permit reusing them for
      goals other than "all".
      
      Targets subdir-T for T in $(TARGET_DIRS) run "make all" in T.  Rename
      to T/all, and declare phony.
      
      Targets romsubdir-R for R in $(ROMS) run "make" in pc-bios/R.  Default
      goal is "all" for all R.  Rename to pc-bios/R/all, and declare phony.
      
      The remainder are renamed just for consistency.
      
      Target subdir-dtc runs "make libbft/libfdt.a" in dtc.  Rename to
      dtc/all, and declare phony.
      
      Target subdir-capstone runs make $(BUILD_DIR)/capstone/$(LIBCAPSTONE)
      in $(SRC_PATH)/capstone.  Rename to capstone/all, and declare phony.
      
      Target subdir-slirp runs "make" in $(SRC_PATH)/slirp.  Default goal is
      all, which builds $(BUILD_DIR)/libslirp.a.  Rename to slirp/all, and
      declare phony.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: NRichard Henderson <richard.henderson@linaro.org>
      Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Tested-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Message-Id: <20190528082308.22032-4-armbru@redhat.com>
      [Add compatibility gunk to keep make working across the rename]
      3b8593ee
  2. 02 7月, 2019 2 次提交
  3. 28 6月, 2019 1 次提交
  4. 27 6月, 2019 1 次提交
  5. 17 6月, 2019 1 次提交
  6. 29 5月, 2019 1 次提交
  7. 28 5月, 2019 2 次提交
  8. 23 5月, 2019 1 次提交
  9. 22 5月, 2019 1 次提交
    • M
      contrib: add vhost-user-input · 06914c97
      Marc-André Lureau 提交于
      Add a vhost-user input backend example, based on virtio-input-host
      device. It takes an evdev path as argument, and can be associated with
      a vhost-user-input device via a UNIX socket:
      
      $ vhost-user-input -p /dev/input/eventX -s /tmp/vui.sock
      
      $ qemu ... -chardev socket,id=vuic,path=/tmp/vui.sock
        -device vhost-user-input-pci,chardev=vuic
      
      This example is intentionally not included in $TOOLS, and not
      installed by default.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-id: 20190514104126.6294-4-marcandre.lureau@redhat.com
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      06914c97
  10. 17 5月, 2019 3 次提交
  11. 13 5月, 2019 1 次提交
  12. 10 5月, 2019 1 次提交
  13. 03 5月, 2019 3 次提交
  14. 02 5月, 2019 1 次提交
  15. 17 4月, 2019 1 次提交
  16. 20 3月, 2019 1 次提交
  17. 18 3月, 2019 1 次提交
  18. 13 3月, 2019 3 次提交
  19. 11 3月, 2019 3 次提交
  20. 08 3月, 2019 2 次提交
    • P
      minikconfig: implement allnoconfig and defconfig modes · f3494749
      Paolo Bonzini 提交于
      Apart from defconfig (which is a no-op),
      allyesconfig/allnoconfig/randcondfig can be implemented simply by ignoring
      the RHS of assignments and "default" statements.  The RHS is replaced
      respectively by "true", "false" or a random value.
      
      However, allyesconfig and randconfig do not quite work, because all the
      files for hw/ARCH/Kconfig are sourced and therefore you could end up
      enabling some ARM boards in x86 or things like that.  This is left for
      future work, but I am leaving it in to help debugging minikconf itself.
      
      allnoconfig mode is tied to a new configure option, --without-default-devices.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      f3494749
    • P
      build: switch to Kconfig · e0e312f3
      Paolo Bonzini 提交于
      The make_device_config.sh script is replaced by minikconf, which
      is modified to support the same command line as its predecessor.
      
      The roots of the parsing are default-configs/*.mak, Kconfig.host and
      hw/Kconfig.  One difference with make_device_config.sh is that all symbols
      have to be defined in a Kconfig file, including those coming from the
      configure script.  This is the reason for the Kconfig.host file introduced
      in the previous patch. Whenever a file in default-configs/*.mak used
      $(...) to refer to a config-host.mak symbol, this is replaced by a
      Kconfig dependency; this part must be done already in this patch
      for bisectability.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NYang Zhong <yang.zhong@intel.com>
      Acked-by: NThomas Huth <thuth@redhat.com>
      Message-Id: <20190123065618.3520-28-yang.zhong@intel.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      e0e312f3
  21. 07 3月, 2019 4 次提交
  22. 26 2月, 2019 1 次提交
  23. 22 2月, 2019 1 次提交
  24. 18 2月, 2019 2 次提交
  25. 05 2月, 2019 1 次提交