diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2013-07-24 18:56:03 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-10-14 17:48:51 +0300 |
commit | a31a864273bb501851a4d52a366c645d06a53991 (patch) | |
tree | 77e66874d139c1546ea7c8b01bd9f0dd552585ed /scripts | |
parent | 74523b850189afc23b608918c458b9242757f6d9 (diff) | |
download | qemu-a31a864273bb501851a4d52a366c645d06a53991.zip qemu-a31a864273bb501851a4d52a366c645d06a53991.tar.gz qemu-a31a864273bb501851a4d52a366c645d06a53991.tar.bz2 |
acpi: add rules to compile ASL source
Detect presence of IASL compiler and use it
to process ASL source. If not there, use pre-compiled
files in-tree. Add script to update the in-tree files.
Note: distros are known to silently update iasl
so detect correct iasl flags for the installed version on each run as
opposed to at configure time.
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Tested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/update-acpi.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/update-acpi.sh b/scripts/update-acpi.sh new file mode 100644 index 0000000..b5f05ff --- /dev/null +++ b/scripts/update-acpi.sh @@ -0,0 +1,4 @@ +cd x86_64-softmmu +for file in hw/i386/*.hex; do + cp -f $file ../$file.generated +done |