allow ACPI table build
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1982 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
1ce549abf9
commit
ce05c32384
|
@ -490,8 +490,10 @@ loader.o: loader.c elf_ops.h
|
||||||
|
|
||||||
acpi.o: acpi.c acpi-dsdt.hex
|
acpi.o: acpi.c acpi-dsdt.hex
|
||||||
|
|
||||||
#$(SRC_PATH)/hw/acpi-dsdt.hex: acpi-dsdt.dsl
|
ifdef BUILD_ACPI_TABLES
|
||||||
# iasl -tc -p $@ $<
|
$(SRC_PATH)/hw/acpi-dsdt.hex: acpi-dsdt.dsl
|
||||||
|
iasl -tc -p $@ $<
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_ARCH), sh4)
|
ifeq ($(TARGET_ARCH), sh4)
|
||||||
op.o: op.c op_mem.c cpu.h
|
op.o: op.c op_mem.c cpu.h
|
||||||
|
|
|
@ -95,6 +95,7 @@ check_gcc="yes"
|
||||||
softmmu="yes"
|
softmmu="yes"
|
||||||
user="no"
|
user="no"
|
||||||
build_docs="no"
|
build_docs="no"
|
||||||
|
build_acpi_tables="no"
|
||||||
uname_release=""
|
uname_release=""
|
||||||
|
|
||||||
# OS specific
|
# OS specific
|
||||||
|
@ -240,6 +241,8 @@ for opt do
|
||||||
;;
|
;;
|
||||||
--enable-uname-release=*) uname_release="$optarg"
|
--enable-uname-release=*) uname_release="$optarg"
|
||||||
;;
|
;;
|
||||||
|
--enable-iasl) build_acpi_tables="yes"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -288,6 +291,7 @@ echo " --disable-user disable all linux usermode emulation targets"
|
||||||
echo " --fmod-lib path to FMOD library"
|
echo " --fmod-lib path to FMOD library"
|
||||||
echo " --fmod-inc path to FMOD includes"
|
echo " --fmod-inc path to FMOD includes"
|
||||||
echo " --enable-uname-release=R Return R for uname -r in usermode emulation"
|
echo " --enable-uname-release=R Return R for uname -r in usermode emulation"
|
||||||
|
echo " --enable-iasl compilation of ACPI tables with the IASL compiler"
|
||||||
echo ""
|
echo ""
|
||||||
echo "NOTE: The object files are build at the place where configure is launched"
|
echo "NOTE: The object files are build at the place where configure is launched"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -708,6 +712,9 @@ echo "TARGET_DIRS=$target_list" >> $config_mak
|
||||||
if [ "$build_docs" = "yes" ] ; then
|
if [ "$build_docs" = "yes" ] ; then
|
||||||
echo "BUILD_DOCS=yes" >> $config_mak
|
echo "BUILD_DOCS=yes" >> $config_mak
|
||||||
fi
|
fi
|
||||||
|
if [ "$build_acpi_tables" = "yes" ] ; then
|
||||||
|
echo "BUILD_ACPI_TABLES=yes" >> $config_mak
|
||||||
|
fi
|
||||||
|
|
||||||
# XXX: suppress that
|
# XXX: suppress that
|
||||||
if [ "$bsd" = "yes" ] ; then
|
if [ "$bsd" = "yes" ] ; then
|
||||||
|
|
Loading…
Reference in New Issue