qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 13/15] configure: Copy some items from default confi


From: minyard
Subject: [Qemu-devel] [PATCH 13/15] configure: Copy some items from default configs to target configs
Date: Tue, 7 Apr 2015 14:51:42 -0500

From: Corey Minyard <address@hidden>

This is to get CONFIG_ACPI into the target config so devices that may
use ACPI know to do this or not.

Signed-off-by: Corey Minyard <address@hidden>
---
 configure | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/configure b/configure
index 09c9225..e301259 100755
--- a/configure
+++ b/configure
@@ -5073,6 +5073,9 @@ if test "$linux" = "yes" ; then
     fi
 fi
 
+# Copy these from the default config to the target config
+defconfig_to_target="CONFIG_ACPI"
+
 for target in $target_list; do
 target_dir="$target"
 config_target_mak=$target_dir/config-target.mak
@@ -5431,6 +5434,10 @@ fi
 echo "LDFLAGS+=$ldflags" >> $config_target_mak
 echo "QEMU_CFLAGS+=$cflags" >> $config_target_mak
 
+for i in $defconfig_to_target; do
+        grep $i $source_path/default-configs/${target}.mak >> 
$config_target_mak
+done
+
 done # for target in $targets
 
 if [ "$pixman" = "internal" ]; then
-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]