diff options
author | 2019-03-07 13:15:20 +0100 | |
---|---|---|
committer | 2019-04-17 15:38:35 +0200 | |
commit | fd75d2c2ee5c2b4ee965561f214273e63722f413 (patch) | |
tree | 2e447298e692d04e4b006c0e9e3569381d1ce063 /hw/usb/dev-hub.c | |
parent | roms/edk2: advance to tag edk2-stable201903 (diff) | |
download | qemu-fd75d2c2ee5c2b4ee965561f214273e63722f413.tar.xz qemu-fd75d2c2ee5c2b4ee965561f214273e63722f413.zip |
roms/edk2-funcs.sh: add the qemu_edk2_get_thread_count() function
The edk2 "build" utility natively supports building modules (that is, INF
files) in parallel. The feature is not useful when building a single
module (with the "-m" option), but it is useful for platform firmware
builds (which include many modules). Add a function that determines the
"-n" option argument for "build", from the MAKEFLAGS variable (i.e. based
on the presence of a make job server).
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'hw/usb/dev-hub.c')
0 files changed, 0 insertions, 0 deletions